[Webkit-unassigned] [Bug 196457] Slot click events not fired after visibility change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 1 22:57:11 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=196457

--- Comment #2 from David <david.dalbusco at outlook.com> ---
Hi, thx for the feedback. Your example could work has it is not a shadowed (shadow DOM) components.

The problem occurs in a Web Component respectively in a shadowed DOM components.

If you modify the :host visibility or the first container visibility, in both case then the click event isn't triggered anymore if you click on the SLOTTED elements

<my-components> <!-- If you change visibility on the host -->
#shadow:root
<div> <!-- Or if you change visibility on the first container -->
<button>
<slot name="test"/>
</button>
</div>
<my-components>


<span slot="test">In both case no click events</span>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190402/6682c599/attachment-0001.html>


More information about the webkit-unassigned mailing list