mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-11 06:17:10 +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 => {
|
onShow: tooltip => {
|
||||||
// this will close opened menu if you trigger another one
|
// this will close opened menu if you trigger another one
|
||||||
if (currentElement) {
|
if (currentElement) {
|
||||||
currentElement.hide();
|
if (tooltip !== currentElement) {
|
||||||
|
currentElement.hide();
|
||||||
|
}
|
||||||
currentElement = tooltip;
|
currentElement = tooltip;
|
||||||
} else {
|
} else {
|
||||||
currentElement = tooltip;
|
currentElement = tooltip;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user