Prerequisites
Ionic Framework Version
v8.x
Current Behavior
With React, if we have a dynamic aria-description such as <IonButton aria-description={count} />, the button inside the shadow dom gets stuck with the initial count.
Expected Behavior
aria-description and pretty much all attributes that are "copied" from the host to the native button inside the shadow DOM should be reactive.
Steps to Reproduce
- Go to https://stackblitz.com/edit/dx7kxrku?file=src%2Fmain.tsx
- Open Devtools
- Observe that the native button inside
ion-button has aria-description="0" even though the component increments it every second
Code Reproduction URL
https://stackblitz.com/edit/dx7kxrku?file=src%2Fmain.tsx
Ionic Info
I don't know what ionic info is. I don't have such a command available anywhere, neither in our project nor on Stackblitz.
Additional Information
No response
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
With React, if we have a dynamic aria-description such as
<IonButton aria-description={count} />, thebuttoninside the shadow dom gets stuck with the initialcount.Expected Behavior
aria-descriptionand pretty much all attributes that are "copied" from the host to the native button inside the shadow DOM should be reactive.Steps to Reproduce
ion-buttonhasaria-description="0"even though the component increments it every secondCode Reproduction URL
https://stackblitz.com/edit/dx7kxrku?file=src%2Fmain.tsx
Ionic Info
I don't know what
ionic infois. I don't have such a command available anywhere, neither in our project nor on Stackblitz.Additional Information
No response