Using trigger="refresh"
around a form prevents fields with keyboard to work correctly
#907
Labels
bug
Something isn't working
This is visible when implementing custom components that allow interactions while the keyboard is open, such as auto-complete: the scroll view captures the tap and dismiss the keyboard instead of letting the custom component handle the tap.
This problem is already solved when explicit
scroll="true"
is added without the refresh trigger, as the underlying scrollview sees itskeyboardShouldPersistTaps
property being set correctly. However, with the scrollview automatically added with the refresh trigger, this property is not set (see code).The problem is also likely the same with
<list>
and<section-list>
elements, as we're not explicitly setting the prop in either of the underlying<List>
/<SectionList>
components (EDIT: we do now since #940).Ideally, the logic that detects the presence of a form field and condition the property should be lifted in a common service, and shared between all these use cases of scrollable views.
Relates to https://app.asana.com/0/1173738217633521/1207872155407865/f
The text was updated successfully, but these errors were encountered: