Closed bhallstein closed 2 months ago
Use scrollTo instead, as in most places.
NB we currently have:
dom-helpers.js
scrollToElement
scrollToElementWithOffset
scroll-web-view.js
get_web_view_scroll
scroll_web_view
Should unify any scroll helper locations.
NB2 The only complicated thing is about scrolling the page, when app loaded there is an iframe that needs to be scrolled (vs when app not loaded, the main window does). Helper funcs can transparently handle this.
Use scrollTo instead, as in most places.
NB we currently have:
dom-helpers.js
/scrollToElement
,scrollToElementWithOffset
scroll-web-view.js
/get_web_view_scroll
,scroll_web_view
Should unify any scroll helper locations.
NB2 The only complicated thing is about scrolling the page, when app loaded there is an iframe that needs to be scrolled (vs when app not loaded, the main window does). Helper funcs can transparently handle this.