mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-22 16:55:13 +02:00
Added animations and fixed a bug with context menus
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
}
|
||||
|
||||
function handleClickOutside(event: MouseEvent) {
|
||||
if (!menu?.contains(event.target as Node)) {
|
||||
if (!menu?.contains(event.target as Node) && $contextMenu === id) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
close();
|
||||
|
||||
Reference in New Issue
Block a user