Scrolling with PageUp does not work. The text input field scrolls up instead, which has no effect if it does not contain any text.
Reproduction
Focus the input field
Press PageUp
Expected behavior
The timeline should scroll up.
Platform and versions
Happens on app.cinny.in and in the git dev branch. Both in Firefox and Chromium.
Additional context
Removing the wrapping <Scroll> scroll element around the <Editable> in editor.tsx does make the PageUp key event bubble up to listenKeyboard() in hotkey.js, but it does not fix the problem.
This is probably because the input area is a sibling to the timeline (where the scroll bar is) in the DOM, not a parent, so the event cannot bubble up to it.
Describe the bug
Scrolling with PageUp does not work. The text input field scrolls up instead, which has no effect if it does not contain any text.
Reproduction
Expected behavior
The timeline should scroll up.
Platform and versions
Happens on app.cinny.in and in the git dev branch. Both in Firefox and Chromium.
Additional context
Removing the wrapping
<Scroll>
scroll element around the<Editable>
in editor.tsx does make the PageUp key event bubble up tolistenKeyboard()
in hotkey.js, but it does not fix the problem.This is probably because the input area is a sibling to the timeline (where the scroll bar is) in the DOM, not a parent, so the event cannot bubble up to it.