mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-10 13:57:17 +00:00
Merge pull request #63 from Simple2B/kostia/fix/right_click_bug
Kostia/fix/right click bug
This commit is contained in:
commit
854a09aeba
File diff suppressed because one or more lines are too long
@ -29,7 +29,9 @@ const options: DropdownOptions = {
|
||||
onShow: tooltip => {
|
||||
// this will close opened menu if you trigger another one
|
||||
if (currentElement) {
|
||||
currentElement.hide();
|
||||
if (tooltip !== currentElement) {
|
||||
currentElement.hide();
|
||||
}
|
||||
currentElement = tooltip;
|
||||
} else {
|
||||
currentElement = tooltip;
|
||||
|
Loading…
x
Reference in New Issue
Block a user