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
If the width/height is not known in advance (e.g.: width is 80% of the parent element) and if the layout needs to know these values to determine the sizes of the items (e.g: a layout where each item is a square and has ’n’ columns), then specifying a scroll position doesn't work.
This is due to the fact that ember-native-scrollable is inserted into the dom before its parent ember-collection. So, the first time when the layout.contentSize is called, the clientWidth and clientHeight is not known. Therefor applying the saved scroll position has no effect
The text was updated successfully, but these errors were encountered:
If the width/height is not known in advance (e.g.: width is 80% of the parent element) and if the layout needs to know these values to determine the sizes of the items (e.g: a layout where each item is a square and has ’n’ columns), then specifying a scroll position doesn't work.
This is due to the fact that ember-native-scrollable is inserted into the dom before its parent ember-collection. So, the first time when the layout.contentSize is called, the clientWidth and clientHeight is not known. Therefor applying the saved scroll position has no effect
The text was updated successfully, but these errors were encountered: