menu icon indicating copy to clipboard operation
menu copied to clipboard

Example code crash when I press "Show Menu with ref (Android only)" on iOS

Open gagtic opened this issue 1 year ago • 8 comments

Hi, I just set up the repo and run the app on iOS simulator. The app is crashing if I press "Show Menu with ref (Android only)" button in iOS

If the app screen is for android only, perhaps either the button should not be shown or an alert should shown that the screen is Android only and should not allow to proceed to the specified screen.

Steps to reproduce

  1. Install node_modules
  2. Install pods
  3. run the app using Xcode
  4. Go into menu example screen
  5. Press "Show Menu with ref (Android only)" button

Image: Screenshot 2024-11-02 at 7 58 40 PM

Log: ERROR TypeError: _menuRef$current.show is not a function. (In '_menuRef$current.show()', '_menuRef$current.show' is undefined)

I would love to work on this issue!

gagtic avatar Nov 02 '24 15:11 gagtic