tamagui / tamagui

Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.
https://tamagui.dev
MIT License
10.23k stars 415 forks source link

Scroll behavior in Select with long lists #2625

Closed chrisaugustsson closed 3 weeks ago

chrisaugustsson commented 3 weeks ago

Current Behavior

In a longer list of items in the Select, the selected item is not shown when opening the list. Its does not scroll to the selected item.

Expected Behavior

It should show the selected item

Tamagui Version

Latest

Platform (Web, iOS, Android)

Web

Reproduction

If you open the dialog here; https://tamagui.dev/ui/dialog/1.0.0 and shirnk the screen size so you dont have much room at the top. Then select one of the items further down, like Jackfruit or Grape, the content wont scroll down to the selected item.

In my image I have selected Grape and when I open the Select it looks like this: 2024-05-06 11_53_06-(14) Discord _ #general _ tamagui

System Info

No response