When Drupal Overlay is enabled I experience some problems with the CKEditor when typing. The window jumps to the top every time I type making the writing very annoying. If I disable the Overlay it works like a charm. Tested with an iPad2 and iPhone5.

Does anyone have a similar problem?

Comments

wwalc’s picture

I did not try to confirm this, but in general I can write that: the iOS (mobile) environment itself is pretty challenging for WYSIWYG editors that use contenteditable elements. Disabling Overlay makes the environment where CKEditor runs a bit simpler, so it makes a lot of sense.

lluisandreu’s picture

I'm wondering if there's any way to disable the Overlay for phone/tablet devices, that'll be a nice module!

stefank’s picture

I;ve created a sandbox module which disables overlay for mobile phones.
https://www.drupal.org/sandbox/stefank/2317543

lluisandreu’s picture

Hi Stefank,

Thanks for your module. The "core" attribute is missing in the .info file, which is essential if you want to install the module. I'd add an overlay dependency, and a package name as well. You can see all this attributes here: https://www.drupal.org/node/542202
The module works fine when adding/editing a node, but doesn't disable the overlay for the admin pages.

Good start though!

stefank’s picture

Hi @lluisandreu.

Thanks for the feedback. I corrected the issues, and added admin config to better deal with paths, which an user can choose now.