4 ms·
Do not hijack my arrow keys. I need them for scrolling.
by einr 8y ago
Do not hijack my arrow keys. I need them for scrolling.
- rado 8y agoHi, the arrow keys do scroll. Is it a problem with natuive.net or the demos? Thanks
- yellowapple 8y agoOn Firefox, it looks like there's some JS or something that's capturing the arrow up/down presses and interpreting them as "move to the next/previous page/tab". Turning off JS causes keyboard scrolling to work fine.
- rado 8y agoThere is a custom full-page tabs element and arrow keys control it when focus is on body. When focus is inside a tab, arrow keys scroll as normal.
- yellowapple 8y agoGotcha. Yeah, I think in that case the tab list is stealing focus by default (instead of the tab contents), which makes it look like scrolling is "broken". Also, the current implementation means I can't use the arrow keys to scroll through the list of tabs; even by navigating to the lower tabs, the scroll doesn't follow. I'd say if you're going to do that, the scroll position for the tab list should follow the selected tab. I'm assuming this can be turned off if we don't want this particular feature?
- rado 8y agoList of tabs can be scrolled only by the tab key. Arrow keys are nice to have for sure. Thanks