-
-
Notifications
You must be signed in to change notification settings - Fork 979
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix elements dissapearing due to high values set to
threshold
props…
… in `ReanimatedSwipeable` (#3153) ## Description Remove mechanism hiding elements which are already out of screen to fix a bug where this mechanism sometimes fired when the element was still on the screen. Still researching why elements had to be hidden in the first place. First commit adding the feature which is removed in this PR: ([link](radko93@fdef400)) ## Test plan - open `Swipeable Reanimation` example - open the `Reanimated` swipeable - close it but just enough to stop seeing the `red` element - due to `threshold` set to `80`, which is `2` times the width of the element, the swipeable fails to close - swipeable retracts to open - before this fix, the `red` element wouldn't be visible
- Loading branch information
Showing
1 changed file
with
3 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters