You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just import from @gorhom/bottom-sheet causes webview full reload on it's style prop change. That mysterious behaviour happens because of call Animated.addWhitelistedUIProps for decelerationRate prop (decelerationRate already exists in webview library so probably it some how influences on webview and causes full reload)
To be honest it was soo difficult to investigate and localise the issue. I tried to find documentation for reanimated v3 addWhitelistedUIProps function, but with no luck. Is that some deprecated API from reanimated used in fresh version of @gorhom/bottom-sheet?
Just removing the call of addWhitelistedUIProps fixes the issue with webview full reload.
Reproduction steps
I've created test repository for reproducing the issue. Please follow the steps on screen in the example.
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
Android
What happened?
Just import from
@gorhom/bottom-sheet
causes webview full reload on it's style prop change. That mysterious behaviour happens because of call Animated.addWhitelistedUIProps fordecelerationRate
prop (decelerationRate
already exists in webview library so probably it some how influences on webview and causes full reload)To be honest it was soo difficult to investigate and localise the issue. I tried to find documentation for reanimated v3
addWhitelistedUIProps
function, but with no luck. Is that some deprecated API from reanimated used in fresh version of@gorhom/bottom-sheet
?Just removing the call of
addWhitelistedUIProps
fixes the issue with webview full reload.Reproduction steps
I've created test repository for reproducing the issue. Please follow the steps on screen in the example.
https://github.com/zarv1k/WebviewPropsChangeReloadIssue
Reproduction sample
https://github.com/zarv1k/WebviewPropsChangeReloadIssue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: