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
Not sure. I've tried a bunch of things but nothing seems to work. Settings boundary on Table's popoverProps is what I expected to initially work but it didn't. It is also weird that even if the Menu is outside of the Table bounds and you scroll, the Table still scrolls.
One note: If you change the height and width in app.css to both 100%, the Table does not scroll as expected.
The text was updated successfully, but these errors were encountered:
I made a small fix to your sandbox by adding in blueprint-popover2.css but this looks like a tricky issue... I think we may need to provide an option to stop propagating scroll events from inside QueryList (Select2, Suggest2, MultiSelect2) popovers... otherwise the scroll events will bubble up to the Table like they do in your example.
If you add the following to the Select/Popover component, it can prevent the popover content scrolling event propagating into Table element.
// for Select2popoverContentProps={{onWheelCapture: (event)=>event.stopPropagation()}}// for Popover2backdropProps={{onWheelCapture: (event)=>event.stopPropagation()}}// orcontent={<divonWheelCapture: (event)=>event.stopPropagation()/>}
Environment
Code Sandbox
Minimal repro: https://codesandbox.io/s/blueprint-sandbox-forked-tbjtm1?file=/src/Table2Example.tsx
Steps to reproduce
Actual behavior
The
Table
scrolls and theMenu
scrolls.Expected behavior
The
Table
does not scroll and theMenu
scrolls.Possible solution
Not sure. I've tried a bunch of things but nothing seems to work. Settings
boundary
onTable
'spopoverProps
is what I expected to initially work but it didn't. It is also weird that even if theMenu
is outside of theTable
bounds and you scroll, theTable
still scrolls.One note: If you change the
height
andwidth
inapp.css
to both100%
, theTable
does not scroll as expected.The text was updated successfully, but these errors were encountered: