[Webkit-unassigned] [Bug 280399] New: Conditionally rendered slot elements causes other slots to be hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 26 02:38:08 PDT 2024


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

            Bug ID: 280399
           Summary: Conditionally rendered slot elements causes other
                    slots to be hidden
           Product: WebKit
           Version: Safari 18
          Hardware: All
                OS: macOS 15
            Status: NEW
          Severity: Major
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hanskrywaa at web.de

Hey there,

this is the first bug i report here. If you need any more info or help from me, please let me know.

We mentioned a strange bug on our website, after we updated to ios18/macOS15: After an element renders a conditionally `slot` element, other `slot` elements on the same page gets removed.

We use lit webcomponents and i also was able to create a very simple reproduction. I started a new default lit project and added simple components.
Link: https://github.com/EinfachHans/ios18-slot-bug
The steps to make it run are described in there.

When you press on "toggle" another slot element is added to the page. In the same moment the slot from the headline component just gets hidden.

-- 
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/20240926/5ce78b42/attachment.htm>


More information about the webkit-unassigned mailing list