Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Note: The issue only seems to appear when using Angular standalone components
When disabling a <ion-select> inside of a <ion-item>, the hover and touch / click styling still appears as enabled and pointer events are still executed.
Expected Behavior
We would expect the styling to appear disabled as well as point-events: none causing no (click) handlers to be called. This does seem to be the case when using the classic IonicModule.forRoot() approach and non-standalone components.
Steps to Reproduce
- Click on the button within the stackblitz
- Observe the styling when hovering / clicking on the ion-select
- Observe the console output when clicking
Code Reproduction URL
https://stackblitz.com/edit/angular-vvbkmf-cz7bqx?file=src%2Fapp%2Fapp.component.html
Ionic Info
see Stackblitz setup
Additional Information
No response
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Note: The issue only seems to appear when using Angular standalone components
When disabling a
<ion-select>inside of a<ion-item>, the hover and touch / click styling still appears as enabled and pointer events are still executed.Expected Behavior
We would expect the styling to appear disabled as well as
point-events: nonecausing no(click)handlers to be called. This does seem to be the case when using the classicIonicModule.forRoot()approach and non-standalone components.Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/angular-vvbkmf-cz7bqx?file=src%2Fapp%2Fapp.component.html
Ionic Info
see Stackblitz setup
Additional Information
No response