jejacks0n / mercury

Mercury Editor: The Rails WYSIWYG editor that allows embedding full page editing capabilities directly inline.
http://jejacks0n.github.com/mercury
Other
2.64k stars 531 forks source link

Rails 3.2.13 app w/ Mercury 0.9.0 not scrolling #383

Open EngineEar opened 11 years ago

EngineEar commented 11 years ago

Hi I have just installed Mercury 0.9.0 on my Rails 3.2.13 app, and it seems to have disabled scrolling in the entire app; I have reproduced this on Safari 6.0.3, Firefox 17.0.1 and Chrome 27.0.1453.93 on OSX 10.8.3.

I have tried removing visibility:hidden from .mercury-iframe in mercury.css (as advised in https://github.com/jejacks0n/mercury/issues/325), and also to change the body{} 'overflow' property to 'scroll' instead of 'hidden' but to no avail.

Any pointers?

UPDATE: I managed to get the scrolling working again by removing the stupid "require_tree ." from application.css; however, the two finger scroll gesture is not working when in the Mercury editor (boo hoo, I know!)...

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/374285-rails-3-2-13-app-w-mercury-0-9-0-not-scrolling?utm_campaign=plugin&utm_content=tracker%2F134071&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F134071&utm_medium=issues&utm_source=github).
EverybodyKurts commented 11 years ago

I fixed this for myself by simply moving my css files into a subfolder and doing &= require_tree ./subfolder

yossi-shasho commented 10 years ago

fixed it myself by adding this somewhere in my css file

.mercury-iframe {
    visibility: visible !important;
}