Hi there,
I am receiving the following warning when closing the
Actionsheet
, which ends up canceling the closing animation. The Actionsheet content is wrapped around a
KeyboardAvoidingView
.
I tried looking up the issue on the internet, but could not unfortunately figure out what might have been causing this issue.
Thank you very much! Any help or hint to cirumvent this issue would be very appreciated.
Expo SDK 53
Packages:
"react": "19.0.0",
"react-native": "0.79.5",
"@expo/html-elements": "0.12.5",
"@gluestack-ui/icon": "^0.1.27",
"@gluestack-ui/actionsheet": "^0.2.53",
"@gluestack-ui/nativewind-utils": "^1.0.26",
"nativewind": "^4.1.23",
"@legendapp/motion": "^2.4.0",
ERROR Warning: useInsertionEffect must not schedule updates.
307 | React.ComponentRef<typeof UIActionsheet.Content>,
308 | IActionsheetContentProps
> 309 | >(function ActionsheetContent({ className, ...props }, ref) {
| ^
310 | return (
311 | <UIActionsheet.Content
312 | className={actionsheetContentStyle({
Call Stack
ActionsheetContent (components/ui/actionsheet/index.tsx:309:42)
KeyboardAvoidingView (components/ui/keyboard-avoiding-view/index.tsx:26:17)
GluestackUIProvider (components/ui/gluestack-ui-provider/index.tsx:16:4)
Root (app/_layout.tsx:54:37)
RNCSafeAreaProvider (<anonymous>)
App (<anonymous>)
ErrorOverlay (<anonymous>)