I'm using <x-button> with an <x-popover> element as shown in the image above. However, the button seems to be staying in "focus", resulting in users being unable to use the spacebar in input elements. Hitting spacebar "clicks" the button instead. (click event is triggered, but the popover does not disappear).
Do you have any idea how to fix this?
I've tried firing the 'blur' event on the button, but this doesn't work either.
Hi,
I'm using
<x-button>
with an<x-popover>
element as shown in the image above. However, the button seems to be staying in "focus", resulting in users being unable to use the spacebar in input elements. Hitting spacebar "clicks" the button instead. (click event is triggered, but the popover does not disappear).Do you have any idea how to fix this?
I've tried firing the 'blur' event on the button, but this doesn't work either.
Thanks in advance!
edit: The template follows this structure: