Make mat-autocomplete scroll behavior match mat-select.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Please describe the feature you would like to request.
Disable the ability to scroll the page when the autocomplete options are displayed, so autocomplete works the same as mat-select.
#### What is the use-case or motivation for this proposal?
Currently when you use mat-autocomplete, the options do not stick to the dropdown field - reported in #12500. The mat-select behavior works great, so could we copy it for mat-autocomplete?
#### Is there anything else we should know?
Looking through the mat-select code, there's 1000 lines of code related to scrolling. I could work on a PR with some pointers to where the behavior is located.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Scroll-Implementierung von mat-select mit mat-autocomplete zu vergleichen, wobei du dich darauf konzentrierst, wie die Optionen während des Scrollens der Seite am Dropdown-Feld angeheftet bleiben. Bilde das aktuelle Verhalten von autocomplete nach und verwende das Verhalten von mat-select als Referenz. Erledigt ist die Aufgabe, wenn autocomplete das Scrollen der Seite verhindert und seine Optionen wie mat-select positioniert hält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100