alexbrillant / react-native-deck-swiper

tinder like react-native deck swiper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

overlayOpacityHorizontalThreshold prop ignored

maurocen opened this issue · comments

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.