ncuesta / dropzonejs-rails

Spice your Rails apps with some Dropzone sugar!
http://rubygems.org/gems/dropzonejs-rails
MIT License
312 stars 56 forks source link

Dropzone Only Loading When Refreshing #49

Closed veeeeeeaa closed 6 years ago

veeeeeeaa commented 6 years ago

I am playing around with dropzonejs-rails and followed the instructions. However, I have been finding that it only works for me when I reload the page. Otherwise, it is just an plain old div when visiting it... any thoughts on this?

ncuesta commented 6 years ago

Hi! Thanks for trying this gem, hope you like it.

From your description, I’m pretty sure you are using Turbolinks. If that’s the case, check that you are binding an event listener for the appropriate page load event (from turbolinks) as that gem/library makes handling page loads a bit different from what we are typically used to.

Please LMK if you still have issues.

Cheers,

-- Nahuel Cuesta Luengo @ncuestal · nahuelcuestaluengo@gmail.com

El 4 de mar. de 2018 11:41 -0300, veeeeeeaa notifications@github.com, escribió:

I am playing around with dropzonejs-rails and followed the instructions. However, I have been finding that it only works for me when I reload the page. Otherwise, it is just an plain old div when visiting it... any thoughts on this? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ncuesta commented 6 years ago

I'm closing this ticket due to inactivity. If you need more help, feel free to file a new one.

Cheers!