alexbrillant / react-native-deck-swiper

tinder like react-native deck swiper
ISC License
1.55k stars 461 forks source link

overlayOpacityHorizontalThreshold prop ignored #338

Open maurocen opened 3 years ago

maurocen commented 3 years ago

Example

https://snack.expo.io/ULn0Lgj64

Expected behavior

overlayOpacityHorizontalThreshold defines when the overlay should be shown, when it's defined and the panX value is greater than overlayOpacityHorizontalThreshold the overlay should become visible.

Current behavior

Even when overlayOpacityHorizontalThreshold is defined and it's value is greater than 0. It's being ignored and horizontalThreshold value is being used instead.

Possible related issue

overlayOpacityVerticalThreshold might be experiencing the same issue as its behavior is analogous to horizontal case.