Skip to content

bug: slots get "hidden" attribute starting v4.41.0 #6596

@KillerCodeMonkey

Description

@KillerCodeMonkey

Prerequisites

Stencil Version

4.41.0

Current Behavior

since version 4.41.0 in my lib all slots get "hidden" attribute per default.

Expected Behavior

it should not add hidden attributes

System Info

System: node 24.11.0
    Platform: linux (6.14.0-123037-tuxedo)
   CPU Model: AMD Ryzen AI 9 HX 370 w/ Radeon 890M (24 cpus)
    Compiler: .../node_modules/@stencil/core/compiler/stencil.js
       Build: 1770399610
     Stencil: 4.42.1 🌍
  TypeScript: 5.8.3
      Rollup: 4.34.9
      Parse5: 7.2.1
      jQuery: 4.0.0-pre
      Terser: 5.37.0

Steps to Reproduce

In my case:

  • fork the linked repo
  • start the demo or run the unit tests

Code Reproduction URL

Mini Repo:
https://github.com/KillerCodeMonkey/stencil-quill-content-hidden-on-prop-chance
Actually Lib:
KillerCodeMonkey/stencil-quill#458

Additional Information

master branch of the repository is on 4.40.0. Everything works as expected
the linked pr adds hidden to the slots (check CI, it is failing as well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions