[BUG] - `Select` doesn't display the currently position while reopen
HeroUI Version
2.8.5
Describe the bug
open the Select and pick one option on the bottom or somewhere else, while reopen the Select, it should display the current position of selected option whatever controllered or uncontrolled, but it always display the top of the list. I saw it works well on https://www.heroui.com/docs/components/select. Why?
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
- https://www.heroui.com/docs/guide/installation, follow this guide.
- https://www.heroui.com/docs/components/select
Expected behavior
I expected that Select should display current selection while reopen.
Screenshots or Videos
https://github.com/user-attachments/assets/f785435a-2c2d-4c3b-b3f5-607bf363c5c0
Operating System Version
macOS
Browser
Chrome
Since it's not reproducible in docs, please share a minimal reproducible sandbox for us to investigate. Thanks.
Since it's not reproducible in docs, please share a minimal reproducible sandbox for us to investigate. Thanks.
https://heroui.app/zgEaoy5
Hey, can you assign the task to me? I'm interested in solving this issue.
@VaideshWaranR go ahead
Hey @wingkwong I have issue in build the dev environment. Issue that I get when I excute pnpm build
you don't need build. simply run pnpm i and pnpm dev
I tried pnpm dev this opens the story book server not the nextjs server. pnpm dev:docs open the nextjs server but i'm not able to access the components sections (in the website) to see the changes there.
cd apps/docs first and run pnpm dev there