-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: custom elements
Description
Vue version
3.5.21
Link to minimal reproduction
Steps to reproduce
- Open DevTools and expand the shadow root of
my-component
- Notice that the
'added-class'
is applied to both thep
andslot
elements - Click the button to toggle the classname off through the update of a property on
my-component
- Notice that the
'added-class'
is removed from thep
element but not theslot
element
What is expected?
The slot
element should have the classname remove from it after the button is clicked in step 3.
What is actually happening?
The slot
element is not updating its attributes in response to reactivity.
System Info
System:
OS: macOS 15.6.1
CPU: (14) arm64 Apple M4 Pro
Memory: 88.97 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.17.0 - /usr/local/bin/node
npm: 10.9.2 - /usr/local/bin/npm
pnpm: 10.14.0 - /opt/homebrew/bin/pnpm
Browsers:
Brave Browser: 138.1.80.120
Safari: 18.6
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: custom elements