appandflow / appandflow/react-navigation-bottom-sheet

Panning down a screen with open keyboard throws an error

未关闭
#16 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
496
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

When you trying to pan down the screen with opened keyboard the bottom sheet throws an error that it tried to synchronously call function dismiss from a different thread.

It seems to be happening somewhere around here https://github.com/gorhom/react-native-bottom-sheet/blob/2e558d13fdb52a83d5b465779ec3517fcfb131c2/src/hooks/useGestureEventsHandlersDefault.tsx#L301, but I can see that keyboard dismissing here is wrapped in `runOnJS`, so not sure why the error appears. Maybe you guys met with such issue before?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。