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
Hey guys,
I'm trying to change some CSS classes when the Combobox.Options is visible. The issue is, that there is no "onChange" property defined in the docs. The only thing I can see is that the open status is passed via the rendering prop, but writing something like this seems to be very ugly and not a good programming style:
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
I'm trying to change some CSS classes when the Combobox.Options is visible. The issue is, that there is no "onChange" property defined in the docs. The only thing I can see is that the open status is passed via the rendering prop, but writing something like this seems to be very ugly and not a good programming style:
So the function fires on every re-render. Is there any other solution for this?
Beta Was this translation helpful? Give feedback.
All reactions