Implement programmatic scrolling for android & universal components (like ios has scrollPosition)
lochness
I'm using the newer
@expo/ui
universal components to create a form that allows users to create an expense. As part of this, I'm using Zod for form validation.I would LOVE to be able to programmatically scroll to the field where a validation error occurs, allowing users to see the error message displayed next to the relevant field instead of showing an error summary at the top of the screen or modal.
I looked into the available APIs and found that
@expo/ui/swift-ui
supports something that might work through ScrollView's shared scroll position. However, I couldn't find similar functionality for Android or the universal components.Would it be possible to add support for programmatically scrolling to a specific component or position in a
ScrollView
across platforms, particularly through the universal components?