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)
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
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)
Test plan
Swipeable Reanimation
exampleReanimated
swipeablered
elementthreshold
set to80
, which is2
times the width of the element, the swipeable fails to closered
element wouldn't be visible