David Kimura PRO said over 3 years ago on StimulusJS, Active Storage and DropzoneJS :
  Personally, I'm not a fan of Less/HAML, but one thing that you could try doing is to inspect the rendered HTML from both scenarios to see if there is any difference. There could be one little change that is causing the whole smash to do something strange.