once-ui-system / nextjs-starter

⚡ Design like a pro and ship like a madman with Once UI
https://once-ui.com/
MIT License
285 stars 58 forks source link

Bug in the docs #12

Open zaihdo opened 2 weeks ago

zaihdo commented 2 weeks ago

Thank you for taking the time to fill out this bug report.

Tell us what happened

Selecting an Icon to try on the Badge preview seems to be affected by a visual bug such that I can't actually see the drop-down properly.

Affected components

The badges feature in the Once UI docs. Selecting an Icon to display on the badge has a visual bug.

[Is the feature request related to an existing component?]

How do we reproduce it?

Click on the Icon drop down and then try to select an icon. [Please share a step-by-step description of how to reproduce the issue.]

Screenshots

Screenshot 2024-11-13 at 9 57 30 PM

System information and logs

n/a

lorant-one commented 2 weeks ago

oh that's indeed a very annoying bug, thanks for reporting @zaihdo! after a short investigation i found the root of the problem: the dropdown element's size is dynamically calculated to fit inside the parent, but in this case the parent is an accordion with a fixed height. i'll see if i can modify it to have a min-height regardless of the parent size :)