react-native-actions-sheet icon indicating copy to clipboard operation
react-native-actions-sheet copied to clipboard

[BUG] undefined value appears in the console when property animation={false} of the ActionSheet

Open BohdanBida opened this issue 1 year ago • 0 comments

undefined value appears in the console when property animation={false} (or not added) of the ActionSheet component

Example: https://snack.expo.dev/@bohdanbida/actionssheetundefinedlog (use Android) Steps to reproduce:

  1. click on 'test' button
  2. wait when popup appeared
  3. click on 'hide' button
  4. check logs (see undefined)
  5. change animated value to false in Alert.js of ActionSheet component
  6. repeat 1-4 steps (undefined won't appear)

Expected result: undefined did not appear in the console after closing of popup

Actual result: undefined appeared in the console after closing the popup

BohdanBida avatar Mar 12 '24 13:03 BohdanBida