ncuesta / dropzonejs-rails

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

Just updated to the latest version and things a messed up #18

Closed THPubs closed 8 years ago

THPubs commented 9 years ago

Just updated to the latest version of the gem and the styles are broken. In the previous version they worked fine.

Screenshot Screenshot

ncuesta commented 9 years ago

Hi @THPubs, are you seeing any missing stylesheets error on the web console?

THPubs commented 9 years ago

@ncuesta Actually no. I even checked the dropzone css file and the two js files, all are there.

ncuesta commented 9 years ago

Then that must be a change on Dropzone's stylesheets.. Have you checked if anything has changed?

ncuesta commented 9 years ago

You may check 3fd54d5b39e036a1a63e8bce9f6af9895e3044d2 to see what's changed since last version's assets

elsurudo commented 9 years ago

:+1: have the same issue. It's likely a problem with dropzone's CSS

danielmag commented 9 years ago

Try adding both basic and dropzone files to application.css.scss Worked for me

ncuesta commented 9 years ago

@THPubs, @elsurudo: does @danielmag suggestion work for you?

cthornbe commented 9 years ago

@danielmag that fix worked for me as well

ncuesta commented 9 years ago

@THPubs, @elsurudo do you still get the same with today's release?

tangens commented 9 years ago

I have the same problem with 0.5.3 and 0.6.0 versions.

ncuesta commented 9 years ago

@tangens can you please elaborate a bit more on your issue? Is it reproducible in your local environment , in production or in both?

tangens commented 9 years ago

@ncuesta in local and demo environment. (prod environment does not exist at moment). Now i putted css code from github to my local css files.

ncuesta commented 9 years ago

@tangens thanks for that info, are you requiring dropzone via sprockets in your application.css? Some folks had a similar issue and it got solved by adding it to their application.css

tangens commented 9 years ago

@ncuesta I use sass and in my application.scss i used before: @import "dropzone/dropzone";

ncuesta commented 9 years ago

I haven't tried including it that way, could you give it a try and use Sprockets to require it instead of @importing it? Just to make sure that's not the root cause.

THPubs commented 9 years ago

Sorry for the late reply. The new release have fixed the issue. But many people might think that the new version is broken because the new version have a different style. At first it looks blank. I also thought it's broken. But after checking the dropzone website I realized that the it's the new way.