Akryum / Akryum/vue-virtual-scroller

Smooth scroll an item into view

Offen
#840 0 Kommentare 15 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
TypeScript
Sterne
10.8k
Forks
973
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Clear and concise description of the problem

- Currently the library has a scrollToItem method but the behavior is not smooth

### Suggested solution

- Implement a function to smooth scroll into view

### Alternative

_No response_

### Additional context

Something [like this](https://codepen.io/rleve/pen/jObeRN) but for the virtual scroller. Found nothing [here](https://github.com/Akryum/vue-virtual-scroller/issues?q=is%3Aissue+is%3Aopen+smooth)

### Validations

- [X] Read the [docs](https://github.com/Akryum/vue-virtual-scroller/blob/master/packages/vue-virtual-scroller/README.md).
- [X] Check that there isn't [already an issue](https://github.com/Akryum/vue-virtual-scroller/issues) that reports the same bug to avoid creating a duplicate.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.