Impossible issue with context menu #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hloth/replica-player#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An impossible issue with fucking webkit
Problem
Because of React, onContextMenu called AFTER blur event. In blur event ContextMenu disappears, and in onContextMenu handler sees visible=false
Any variations of timeout not only unreliable but also doesn't work.
Possible solution #1
Somehow send data from onBlur event to onContextMenu event right after that.
In onContextMenu use that data and ignore visible variable state
I'm leaving web-dev