Closed moog16 closed 5 years ago
top app bar needs ability to scroll from outside of window. Currently like: getViewportScrollY: () => window.pageYOffset,, should be
getViewportScrollY: () => window.pageYOffset,
getViewportScrollY: () => this.scrollTarget_[this.scrollTarget_ === window ? 'pageYOffset' : 'scrollTop'],
related https://github.com/material-components/material-components-web/pull/2914
Closing for #771
top app bar needs ability to scroll from outside of window. Currently like:
getViewportScrollY: () => window.pageYOffset,
, should berelated https://github.com/material-components/material-components-web/pull/2914