Open personalizedrefrigerator opened 10 months ago
The issue seems to be related to the use of ponter-events="box-none"
on the FAB.Group container:
https://github.com/callstack/react-native-paper/blob/813cdd47a90ee3bb693c6ec143af73092cd3edae/src/components/FAB/FABGroup.tsx#L344-L346
It seems to be possible to work around this issue by changing the size of the container when the FAB group is collapsed, as is done here. (Note: The linked example adjusts the container size using hardcoded values, which seems to work, but could be problematic).
Current behaviour
When using TalkBack on Android, exploring the screen by touch (docs) doesn't work in apps that use a
FAB.Group
. Selecting items by tapping them also doesn't work.Expected behaviour
Touch exploration/selection should work.
How to reproduce?
GitHub repository or Expo Snack
Preview
https://github.com/callstack/react-native-paper/assets/46334387/e51d4a30-fb2c-43e6-a00b-fed3eae20c09
What have you tried so far?
<Portal>
element, rather than one containing aFAB.Group
(works)<Portal>
element that displays a dialog (works)FAB
, rather than aFAB.Group
(works)Your Environment
Note: This issue seems only to be present on Android.