You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(Form): Disable autofocus on error for some fields on iOS (#1307)
Fields that are excluded from autofocus on error in iOS because the
focus action opens the picker/selector
* date
* datetime-local
* month
* select
Note: scroll to element not affected
A simple unit test that covers these scenarios has been added but you
can be manually test this using playroom with a snippet like:
```jsx
<Form>
<Stack space={16}>
<Select
name="field"
label="field"
options={[{ value: "x", text: "x" }]}
/>
<ButtonPrimary submit>Submit</ButtonPrimary>
</Stack>
</Form>
```
and opening the preview in an iphone
---------
Co-authored-by: Pedro Ladaria <pedro.jose.ladaria.linden@telefonica.com>
0 commit comments