adopted-ember-addons / adopted-ember-addons/ember-light-table

scrollTo does not work for initialised value

Offen
#710 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
311
Forks
130
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When an `lt-body` is initialised with a value for `@scrollTo`, the table does not automatically scroll to this position.

Instead `scrollTo` only seems to work if a value is provided after the initial render.

I'm willing to take a look at fixing this, but I'm finding it hard to find the code where the scroll is actually registered for a `scrollTo`, so any pointers are welcome :)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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