You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
Because scrollTo is triggered when via didReceiveAttributes, the @scrollTo arg is processed before the table renders.
Additionally, because the implementation relies on a private _scrollTo property - where if this value matches the @scrollTo arg, the implication is that scroll was successful and should not be re-triggered. But the issue here is that this can be set before the table has even rendered, so the ember-scrollable was not able to perform the scroll.
It seems that generally a more robust system is needed to properly handle scroll, but for now I'm going to try and patch something so that scrollTo also works for first render
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 :)The text was updated successfully, but these errors were encountered: