chakra-ui / ark

Ark UI is a headless UI library with over 45+ components designed to build scalable Design Systems that works for a wide range of JS frameworks.
https://ark-ui.com
MIT License
3.8k stars 109 forks source link

[Bug]: Virtualized Select still does render all options on the DOM #3021

Closed xeinebiu closed 3 weeks ago

xeinebiu commented 3 weeks ago

Description

The issue is reproducable even on the demostration of Virtualized Select. You can see that all countries

Screenshot 2024-10-28 200822 image

Link to Reproduction (or Detailed Explanation)

https://ark-ui.com/react/examples/virtualized-select

Ark UI Version

4.2.0

Framework

Additional Information

Solution

Do not include the , I am not sure what is the purpose of HiddenSelect but removing this fixes the issue.