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 am currently trying to create multiple listboxes and grouping them with a flexbox container. I was able to group the buttons. However, opening the options menu results in the menu being apart of the flexbox children, causing it to appear to the right of the button instead of the bottom as you'd expect.
I was able to fix this by setting the options menu to be absolute and guessing the correct parameters for top/left for the options menu to appear below the button. However, I think this is bad practice. Is there a better way of doing this? Thank you!
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 am currently trying to create multiple listboxes and grouping them with a flexbox container. I was able to group the buttons. However, opening the options menu results in the menu being apart of the flexbox children, causing it to appear to the right of the button instead of the bottom as you'd expect.
I was able to fix this by setting the options menu to be absolute and guessing the correct parameters for top/left for the options menu to appear below the button. However, I think this is bad practice. Is there a better way of doing this? Thank you!
My code:
Beta Was this translation helpful? Give feedback.
All reactions