GeekyAnts / GeekyAnts/NativeBase
Actionsheet overlay closes slowly on Android and pops back up on iOS when swiping closed
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
The actionsheet component pops back up when swiping closed on iOS and the overlay on android closes slowly when you swipe down. I would expect the actionsheet to not pop back up on iOS and the overlay to close on android much quicker.
### CodeSandbox/Snack link
https://snack.expo.dev/jwoctBv6n
### Steps to reproduce
1. Setup actionsheet component.
2. Swipe to close a handful of times on Android and iOS.
3. You should see the Android overlay slow to close after swiping down on the Actionsheet. On iOS you should see the Actionsheet pop back up briefly after swiping down before closing.
### NativeBase Version
3.4.13
### Platform
- [X] Android
- [ ] CRA
- [X] Expo
- [ ] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
https://user-images.githubusercontent.com/103954862/199553443-4f4de8a0-2ab0-46ef-8db9-d3ef63f68b81.mov
https://user-images.githubusercontent.com/103954862/199553457-88c1b58a-ff84-4f9f-b098-7b0d15de4f35.mov
Here are screen recordings of both emulators. These issues are still persistent on physical iOS and Android devices. The snack link had the actionsheet setup, but I think the speed of the emulator through the browser makes it hard to reproduce.
Contributor guide
Research direction
Start with the linked Expo Snack and reproduce the actionsheet swipe behavior repeatedly on Android and iOS, using the provided recordings as reference. Investigate the actionsheet component entry point and its swipe-close handling; done means the Android overlay closes promptly and the iOS actionsheet does not briefly reappear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100