react-native-actions-sheet: Animation broken or initial position problem

Hello! Thank you for awesome lib, but I have some problems with it. Sometimes I’m getting weird bug when ActionSheet can’t be opened. I’m using SheetManager with custom context (tested with global too - same bug):

<ActionSheet
  id={sheetId}
  ref={sheetRef}
  gestureEnabled={true}
  CustomHeaderComponent={<SheetHeader />}
  backgroundInteractionEnabled={true}
  snapPoints={[30, 100]}
>
  ...
</ActionSheet>

UPD: Maybe something with warning in console? WARN Sending 'onAnimatedValueUpdate' with no listeners registered.

https://user-images.githubusercontent.com/19375789/187904262-7df0c711-3d3f-481d-9e39-00377b62dd8b.mp4

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Same issue. 0.8.3 is ok (but onClose is invalid), but 0.8.4 has some problems (It seems like the problem is that actions sheet in native stack navigator)