You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Stenciljs 4.23.1 regression - classes list on child elements of html "dialog" tag is not always updated in html on prop change #6115
I have searched for existing issues that already report this problem, without success.
Stencil Version
4.23.1
Current Behavior
Reproduced: "@stencil/core": "4.23.1",
Not reproduced: "@stencil/core": "4.23.0",
If I show list in <dialog> {this.someList}</dialog> and some classes should be recalculated if list item prop changes - it doesnot always happen.
Initially selected marked with red item stays marked with red if I select other item in list (prop "selected" changes to false but class is not unassigned).
Here is gif with reproduce steps:
Expected Behavior
Items classes for list items inside element always be updated correctly.
System Info
npx stencil info
System: node 18.20.5
Platform: darwin (21.6.0)
CPU Model: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 cpus)
Compiler: /.../regression-reproduce-repo/node_modules/@stencil/core/compiler/stencil.js
Build: 1736187268
Stencil: 4.23.1 🌯
TypeScript: 5.5.4
Rollup: 2.56.3
Parse5: 7.1.2
jQuery: 4.0.0-pre
Terser: 5.31.1
Activity
christian-bromann commentedon Jan 23, 2025
@johnjenkins Do you think this may be related to changes made in #6082 ?
johnjenkins commentedon Jan 23, 2025
yes - I've found the issue.
Fix in-bound :)
(It's the same issue as #6114)
kievsash commentedon Jan 24, 2025
Thanks guys
You are fast like a Sonic )
christian-bromann commentedon Jan 25, 2025
A fix for this has been released today as part of Stencil v4.25.1!