angular / angular/components

Things to do when we drop IE11 support someday

Aperta
#7,374 5 commenti 90 reazioni 0 assegnatari Vedi su GitHub
area: material/core feature ie11 P4 refactoring
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

Writing this issue to keep track of the things we can do / drop once we no longer support IE11. This issue is mainly for record-keeping. Eventually dropping will likely be based on Microsoft ending support for Windows 7, which is [currently slated for January 2020](https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet).

- [ ] Incorporate CSS custom properties into theming
- [x] Drop extra code for sticky positioning and just use `position: sticky`
- [ ] Use `IntersectionObserver` for overlay positioning
- [ ] Use WeakSet instead of WeakMap
- [x] Second parameter to `classList.toggle`
- [x] Use `element.remove()` instead of `element.parentNode.removeChild(element)`
- [ ] Start using CSS Grid, potentially deprecating mat-grid-list
- [ ] Start using `KeyboardEvent.key` / `KeyboardEvent.code` (re-evaluate cdk/keycodes)
- [ ] Explore possibly using native Shadow DOM
- [ ] Remove re-implementations of `matches` and `closest`
- [x] Get rid of IE-specific cases in `InteractivityChecker`
- [ ] Explore `clip-path` as a means of custom shapes for components
- [x] Remove IE11-specific fallback animation in mat-spinner
- [ ] Can use `unset` CSS value

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Questa issue è una checklist di tracciamento delle modifiche successive alla fine del supporto a IE11, incluse CSS custom properties, IntersectionObserver, CSS Grid, API per la tastiera, Shadow DOM e altre funzionalità del browser. Non vengono indicati file, test o punti di ingresso; inizia selezionando un elemento non contrassegnato e individuando il codice del componente correlato. Si considera completato quando quell'elemento è stato valutato o completato e il relativo stato nella checklist è stato aggiornato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.