Didn't open dialog when a button with class name "js-tooltip" have children
pashkes opened this issue · comments
Pavlo Tarasenko commented
I needed made multi line border dashed for button so I had to added span element after that the dialog doesn't open. I guess that need to add additional check if the button have children
<button class="js-tooltip"
data-tooltip-content-id="tooltip-id"
data-tooltip-prefix-class="custom">
<span>Some text</span>
</button>
<div id="tooltip-id" class="hidden"></div>
I'll be happy and thankful if this bug will be fixed
Pavlo Tarasenko commented
I had fixed the bug, just adding z-index to parent and negative z-index children element