question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Menu not opening in project but works in snack

See original GitHub issue

Current behaviour

Menu not opening. No error message.

Expected behaviour

Menu should open when I click show menu button

Code sample

EDIT: Removed snack

Screenshots (if applicable)

N/A

What have you tried

I have tried testing using other components (like Switch) and those all work fine in my project so I know I set it up correctly. I also tried setting a higher zIndex on the menu to ensure the menu wasn’t being hidden by anything.

Also not sure if this is helpful but I have a similar-ish problem in my project with react-native-draggable-flatlist that I still do not know the cause of: https://github.com/computerjazz/react-native-draggable-flatlist/issues/285

Your Environment

software version
ios or android android
react-native ^0.64.0 => 0.64.2
react-native-paper ^4.9.2
react-native-vector-icons ^8.1.0
node 14.16.1
npm 7.13.0
yarn 1.22.10
expo sdk N/A

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lukewalczakcommented, Jun 21, 2021

Could you please create a sample repository (since snack works properly) with bug reproduction to investigate root of the problem?

0reactions
github-actions[bot]commented, Sep 15, 2021

Couldn’t find version numbers for the following packages in the issue:

  • expo

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • react-native (found: 0.64.0, latest: 0.65.1)
  • npm (found: 7.13.0, latest: 7.23.0)
  • yarn (found: 1.22.10, latest: 1.22.11)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

Read more comments on GitHub >

github_iconTop Results From Across the Web

expo - Is there a way to run my existing React Native project ...
Since it's specifically the Metro bundler that seems to be the issue, I was wondering whether there was any way to run my...
Read more >
Android Snackbar Example Tutorial - DigitalOcean
Snackbar in android is a new widget introduced with the Material ... message cannot be off until the time limit finish, but Snackbar...
Read more >
Debugging - Expo Documentation
Learn about different techniques and tools available to debug your Expo project.
Read more >
6 ways to curb your snacking at work - Ladders
“Whether it be break-room snacks, vending machines down the hall, ... It might not seem like much of a routine, but it is...
Read more >
How to Make a Restaurant Menu From Scratch in 10 Steps
If you're working off of a previous menu, add in your current prices, and then take a step back to analyze them. Put...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found