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
|
@ -130,13 +130,13 @@
|
||||||
icon="ellipsis-h"
|
icon="ellipsis-h"
|
||||||
/>
|
/>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-if="!expanded"
|
v-show="!expanded"
|
||||||
class="focus-marker"
|
class="focus-marker"
|
||||||
transform="shrink-6 up-8 right-16"
|
transform="shrink-6 up-8 right-16"
|
||||||
icon="plus"
|
icon="plus"
|
||||||
/>
|
/>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-else
|
v-show="expanded"
|
||||||
class="focus-marker"
|
class="focus-marker"
|
||||||
transform="shrink-6 up-8 right-16"
|
transform="shrink-6 up-8 right-16"
|
||||||
icon="times"
|
icon="times"
|
||||||
|
|
|
@ -53,13 +53,13 @@
|
||||||
:icon="['far', 'smile-beam']"
|
:icon="['far', 'smile-beam']"
|
||||||
/>
|
/>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-if="!expanded"
|
v-show="!expanded"
|
||||||
class="focus-marker"
|
class="focus-marker"
|
||||||
transform="shrink-6 up-9 right-17"
|
transform="shrink-6 up-9 right-17"
|
||||||
icon="plus"
|
icon="plus"
|
||||||
/>
|
/>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-else
|
v-show="expanded"
|
||||||
class="focus-marker"
|
class="focus-marker"
|
||||||
transform="shrink-6 up-9 right-17"
|
transform="shrink-6 up-9 right-17"
|
||||||
icon="times"
|
icon="times"
|
||||||
|
|
Loading…
Reference in New Issue