Fix popover not popping up
Sometimes the "focus-marker" gets clicked. In this situation, it will trigger an open, and then a close, because the original focus-marker was removed from the dom, so $el.contains() no longer thinks the marker is part of the trigger! We replaced the v-if with v-show to resolve this problem.
This commit is contained in:
parent
11672bc490
commit
5676b5cfc9
2 changed files with 4 additions and 4 deletions
|
@ -130,13 +130,13 @@
|
|||
icon="ellipsis-h"
|
||||
/>
|
||||
<FAIcon
|
||||
v-if="!expanded"
|
||||
v-show="!expanded"
|
||||
class="focus-marker"
|
||||
transform="shrink-6 up-8 right-16"
|
||||
icon="plus"
|
||||
/>
|
||||
<FAIcon
|
||||
v-else
|
||||
v-show="expanded"
|
||||
class="focus-marker"
|
||||
transform="shrink-6 up-8 right-16"
|
||||
icon="times"
|
||||
|
|
|
@ -53,13 +53,13 @@
|
|||
:icon="['far', 'smile-beam']"
|
||||
/>
|
||||
<FAIcon
|
||||
v-if="!expanded"
|
||||
v-show="!expanded"
|
||||
class="focus-marker"
|
||||
transform="shrink-6 up-9 right-17"
|
||||
icon="plus"
|
||||
/>
|
||||
<FAIcon
|
||||
v-else
|
||||
v-show="expanded"
|
||||
class="focus-marker"
|
||||
transform="shrink-6 up-9 right-17"
|
||||
icon="times"
|
||||
|
|
Loading…
Reference in a new issue