themes
themes copied to clipboard
[ContextMenu] An open ContextMenu does not move after right clicking somewhere else
When the ContextMenu is open, and you right click somewhere else the ContextMenu does not move to the new location. However, if you hold the right click till after the fade out animation it will move to the new location.
It seems that the closing animation keeps the ContextMenu locked in the same place.
Hello, is there a solution to this problem? I also encountered the same problem!
As a quick fix you can disable the fade out animation, i have done that in this file: https://github.com/openstreetmap-netherlands/openstreetmap-website/blob/main/src/components/ui/context-menu.tsx
however i dont know where anymore, can you compare this file with a new one to see what i have changed?
As a quick fix you can disable the fade out animation, i have done that in this file: https://github.com/openstreetmap-netherlands/openstreetmap-website/blob/main/src/components/ui/context-menu.tsx
however i dont know where anymore, can you compare this file with a new one to see what i have changed?
thanks, it helped!
@vladmoroz Hello author, could you please take a look at this question: [ContextMenu] An open ContextMenu does not move after right clicking somewhere else Thank you!