Work around web stale closure bug in Reanimated (#1865)
This commit is contained in:
parent
487d871cfd
commit
8d7475c130
4 changed files with 48 additions and 7 deletions
|
@ -4,12 +4,8 @@ import {useSetMinimalShellMode, useMinimalShellMode} from '#/state/shell'
|
|||
import {useShellLayout} from '#/state/shell/shell-layout'
|
||||
import {s} from 'lib/styles'
|
||||
import {isWeb} from 'platform/detection'
|
||||
import {
|
||||
useAnimatedScrollHandler,
|
||||
useSharedValue,
|
||||
interpolate,
|
||||
runOnJS,
|
||||
} from 'react-native-reanimated'
|
||||
import {useSharedValue, interpolate, runOnJS} from 'react-native-reanimated'
|
||||
import {useAnimatedScrollHandler} from './useAnimatedScrollHandler_FIXED'
|
||||
|
||||
function clamp(num: number, min: number, max: number) {
|
||||
'worklet'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue