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
I'm trying to remove the empty space at the bottom of the SelectMenu component. The component type definitions allow height prop to be either a string or a number but the prop validation of OptionsList expects a number. According to PR #579 the author was able to pass height='100%' to the component successfully. If I try either height='100%' or height='auto the property works as expected, but I also get the following errors. Any advice on how to do this correctly? CodeSandbox
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to remove the empty space at the bottom of the SelectMenu component. The component type definitions allow height prop to be either a string or a number but the prop validation of OptionsList expects a number. According to PR #579 the author was able to pass
height='100%'
to the component successfully. If I try eitherheight='100%'
orheight='auto
the property works as expected, but I also get the following errors. Any advice on how to do this correctly?CodeSandbox
``
Beta Was this translation helpful? Give feedback.
All reactions