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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 1 12:35:34 PDT 2019


            Bug ID: 196457
           Summary: Slot click events not fired after visibility change
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: david.dalbusco at outlook.com

I've got a shadowed Web Components which exposes a slot. The visibility of the components' elements change from 'hidden' per default to 'visible' when I call a method. 

After the visitility (css `visibility: hidden/visible`) as changed, the click event on the button which exposes a slot isn't triggered anymore.

<button onClick={() => {this.toggleLink()}}>

=> click event ok even after visibility change

<button onClick={() => {this.toggleLink()}}>
<slot name="hello"></slot>

<span slot="hello">H</span>

=> no click event after the visibility change

Double checked, same code work in both Firefox and Chrome.

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/20190401/6b9d9129/attachment.html>

More information about the webkit-unassigned mailing list