reactScrollbar
reactScrollbar copied to clipboard
Nested scrollbars in separate render contexts
Thanks to a series of unfortunate decisions, I'm rendering a scrollarea inside another scrollarea, using ReactDOM.unstable_renderComponentIntoSubtree
.
Normally, when rendering nested scrollareas, wheel/keyboard events aren't propagated up to their parents, as fixed in #40. However, since I'm no longer in the same component tree, events are still propagated up to the outer scroll area.
Unfortunately I haven't had time to produce a jsfiddle/similar test case to demonstrate, but I will do when I get a few moments this evening.
(Successfully worked around this issue using react-portal to render into a different part of the DOM)