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've run into a situation where I have a single line and multiple options to be picked.
In that case, the CSS "overflow: hidden" is working fine, however there is no visual indication of number of element hidden.
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.
-
I've run into a situation where I have a single line and multiple options to be picked.
In that case, the CSS "overflow: hidden" is working fine, however there is no visual indication of number of element hidden.
After numerous experiment, I reach this:
Reference: https://codesandbox.io/s/final-select-forked-6vx387
It would be great if this could be integrated in the component itself in a much better way than this approach.
For reference:
Looks like Ant design has such a feature: https://ant.design/components/select/#components-select-demo-responsive
Beta Was this translation helpful? Give feedback.
All reactions