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
Hi there,
is it obligatory to have a ember-element-resize-detector as a dependency? And it could be very useful if it can save the position of scroll when the wrapping div is resizing.
The text was updated successfully, but these errors were encountered:
Oh, now I can see, ember-element-resize-detector used in templates. But still don't understand how to prevent scroll to top when the element is resized...
@lancedikson sorry I missed this notification, for some reason wasn't watching this repo.
Theoretically by setting scrollToY or scrollToX you would keep the scroll position even on resize, there seems to be a bug, where the scrollTo{X,Y} isn't being honored because of a bug here: https://github.com/alphasights/ember-scrollable/blob/master/addon/components/scroll-content-element.js#L179 basically the scrollbars are being recreated in the ember-scrollable component, so the DOM state is out of sync from the JS state.
Hi there,
is it obligatory to have a
ember-element-resize-detector
as a dependency? And it could be very useful if it can save the position of scroll when the wrapping div is resizing.The text was updated successfully, but these errors were encountered: