bug(mat-slide-toggle): disableRipple not causing any visual changes
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### Is this a regression?
- [X] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
It looks like `disableRipple` was used to prevent the ripple animation (ripple based on where in the touch target you clicked) in the legacy components, but now that doesn't seem to show up anymore. So it seems that setting `disableRipple` isn't causing any difference now.
### Reproduction
StackBlitz link: https://stackblitz.com/edit/aakbph?file=src%2Fexample%2Fslide-toggle-overview-example.html
### Expected Behavior
Setting `disableRipple` to true would cause a visual difference upon clicking the slide toggle handle.
### Actual Behavior
No viusal change
### Environment
- Angular: 17.2.0-rc.0
- CDK/Material: 17.2.0-rc.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Apri lo StackBlitz collegato e inizia da src/example/slide-toggle-overview-example.html; riproduci il comportamento del clic in Chrome e traccia come mat-slide-toggle utilizza disableRipple. Il lavoro è completato quando impostare disableRipple su true produce una differenza visibile nel comportamento dell'handle di slide-toggle e la regressione è coperta dai controlli pertinenti del progetto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100