angularjs-scroll-glue icon indicating copy to clipboard operation
angularjs-scroll-glue copied to clipboard

re-enable scroll glue

Open garretwilson opened this issue 9 years ago • 1 comments

If a user scrolls, say, a horizontal block to the middle, scroll glue is suspended (i.e. turned off). How can I programmatically, if I add new horizontal content to the block, re-enable scroll glue?

garretwilson avatar Jan 20 '17 18:01 garretwilson

Setting scrollTop or scrollLeft manually on the container should work. What values need to be set depends on the isAttached in use.

oliversalzburg avatar Jan 20 '17 18:01 oliversalzburg