ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.41k stars 119 forks source link

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

Open BohdanBida opened 3 months ago

BohdanBida commented 3 months ago

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