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
Each MenuList has top and bottom padding.
In the case of a Drilldown menu, each sub level of a MenuList is rendered as a child of the MenuList. It results in nested MenuLists. To prevent the top and bottom padding from stacking (and growing too large). MenuLists which are children of other MenuLists have their padding zeroed out (see the screen shot below).
This causes for the calculation of the height of the Menu in MenuContent.tsx's refCallback around line 21 to be incorrect. The sub MenuList's clientHeight does not include the padding of it's parent MenuList so it thinks that the rendered sub menu is shorter than it actually is, causing the contents to overflow and create a scrollbar.
The text was updated successfully, but these errors were encountered:
Each MenuList has top and bottom padding.
In the case of a Drilldown menu, each sub level of a MenuList is rendered as a child of the MenuList. It results in nested MenuLists. To prevent the top and bottom padding from stacking (and growing too large). MenuLists which are children of other MenuLists have their padding zeroed out (see the screen shot below).
This causes for the calculation of the height of the Menu in
MenuContent.tsx
'srefCallback
around line 21 to be incorrect. The sub MenuList's clientHeight does not include the padding of it's parent MenuList so it thinks that the rendered sub menu is shorter than it actually is, causing the contents to overflow and create a scrollbar.The text was updated successfully, but these errors were encountered: