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
Problem: when i scroll down and inner <Menu/>'s height exceeds the <Popover/>'s, a scrollbar appears. Since i already have a scrollbar for my children, i want to hide this pesky Popover's scrollbar.
I tried adding the overflow-y: hidden !important shown in code above, but it doesnot work, the popover seems to always rerender with overflow-y: auto ....
Any solution please ?
The text was updated successfully, but these errors were encountered:
I have dug a bit into the issue. The overflow-y: auto style is coming from the <PopoverAnimationDefault /> component.
Your best option right now is to implement your own animation component.
We could extend PopoverAnimationDefault to accept some overriding style properties.
I actually chose another option, much more radical XD :
I replaced Menu with react-infinite, this fixed both the double containers issue, and this not-overridable overflowY. Simpler code as well.
I'll make a release of superSelectField soon.
Thanks for the insight on PopoverAnimation.
For one of my projects, i use the Popover component with
style.height
set.Problem: when i scroll down and inner <Menu/>'s height exceeds the <Popover/>'s, a scrollbar appears. Since i already have a scrollbar for my children, i want to hide this pesky Popover's scrollbar.
I tried adding the
overflow-y: hidden !important
shown in code above, but it doesnot work, the popover seems to always rerender withoverflow-y: auto
....Any solution please ?
The text was updated successfully, but these errors were encountered: