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
There is an issue with the setSize function: it sets a css min-height property to minHeight - menuPadding, which means that negative values are possible. Unfortunately negative values for that property are ignored by my browser (latest chrome), and therefore not updated. It results in an inappropriate height when I dynamically change the number of options.
I fixed this issue by setting the property to Math.max(minHeight - menuPadding, 0) instead.
The text was updated successfully, but these errors were encountered:
Hello,
There is an issue with the
setSize
function: it sets a cssmin-height
property tominHeight - menuPadding
, which means that negative values are possible. Unfortunately negative values for that property are ignored by my browser (latest chrome), and therefore not updated. It results in an inappropriate height when I dynamically change the number of options.I fixed this issue by setting the property to
Math.max(minHeight - menuPadding, 0)
instead.The text was updated successfully, but these errors were encountered: