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.

strange behavior: can not dismiss context menu from ref after navigate into new modal screen

See original GitHub issue

Hi, I have context menu with ref, then I using this ref to hide context menu by call:

ref.current.dismissMenu()

It’s work until I navigate to fullscreenmodal, then back to screen again. can u take a look at my video: https://streamable.com/dq5ak4

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dominicstopcommented, Nov 19, 2022

sorry, i don’t currently have a mac to use for dev work — i might not be able to fix this in the meanwhile

i’ll let you know once i’m able to debug this

1reaction
dominicstopcommented, Nov 8, 2022

i’m stumped — i can’t seem to figure out why this is happening faksdhdkjdjhdjdk

i’m going to have to create a repro in order to debug this — i’ll update this issue once i figure out what’s wrong

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · dominicstop/react-native-ios-context-menu - GitHub
A react-native component to use context menu's (UIMenu) on iOS 13/14+ ... strange behavior: can not dismiss context menu from ref after navigate...
Read more >
SwiftUI: Menu not responding after… | Apple Developer Forums
I have a Menu in the toolbar, which becomes unresponsive right after the Sheet is dismissed. The action on the button is highlighted,...
Read more >
My WPF ContextMenu is not dismissing when I click elsewhere
This displays the context menu and clicking on the menu items dismisses it, but if I just click away on another window, the...
Read more >
Dialog (Modal) - Reach UI
An accessible modal dialog component for React.
Read more >
Practical Redux, Part 10: Managing Modals and Context Menus
The only slightly unusual thing here is that we're taking a prop called nodeRef , and passing it down as a callback ref...
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