You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
If you type Opt-Space to insert a nbsp (on http://facebook.github.io/draft-js/, for example) in Chrome Mac, the page scrolls down a screenful but it probably shouldn't move. Missing preventDefault() somewhere probably.
The text was updated successfully, but these errors were encountered:
sophiebits
changed the title
Pressing Opt-Space with text selected scrolls the page down
Pressing Opt-Space scrolls the page down
Feb 22, 2016
Hey, I'd love to try fixing this. I took a quick look and am thinking it would need to to be caught in the defaultKeyBindings and that it also might require a check for the option key modifier in the KeyBindingUtil am I on the right track?
It could work well to use a key binding for this, yeah. KeyBindingUtil.hasCommandModifier could be useful here, though I don't know the expected behavior for Ctrl+Space in Windows.
Before using a keybinding, I suggest using a jsfiddle for a minimal repro to determine whether this is a bug in ContentEditable or within Draft.
If you type Opt-Space to insert a nbsp (on http://facebook.github.io/draft-js/, for example) in Chrome Mac, the page scrolls down a screenful but it probably shouldn't move. Missing preventDefault() somewhere probably.
The text was updated successfully, but these errors were encountered: