Native iOS keyboard select does not appear when tapping on useSelect example
๐ Bug Report
Native iOS keyboard select does not appear when tapping on useSelect example within the docs on an iPhone https://react-spectrum.adobe.com/react-aria/useSelect.html
๐ค Expected Behavior
I think the native iOS keyboard select should appear.
๐ฏ Current Behavior
The custom dropdown appears, but this is quite small on mobile.
๐ Possible Solution
๐ฆ Context
๐ป Code Sample
If you visit this page on an iPhone and tap on the Select to test https://react-spectrum.adobe.com/react-aria/useSelect.html
๐ Your Environment
| Software | Version(s) |
|---|---|
| react-spectrum | Docs |
| Browser | iOS Safari |
| Operating System | iPhone XS iOS 14.2 |
๐งข Your Company/Team
๐ท Tracking Issue (optional)
React Aria is designed to allow you to create your own custom styled components. While that particular example isn't mobile optimized, it should be possible to build such a layout yourself, or even switch to a native select on mobile yourself if you like.
For example, React Spectrum's Picker component displays a custom tray on mobile.
Thanks for replying, I was just wondering if there was some pattern that had been missed in the example with the HiddenSelect, that would cause the native keyboard to be triggered on mobile, but makes sense that this is left to userland :)