Make “scrollLeft” / “scrollTop” changes not trigger scroll event listener

前端 未结 5 646
刺人心
刺人心 2020-11-30 10:02

Currently my program is in a spot where it both listens for the user to scroll a certain element, but also, at times, automatically scrolls this element by itself. (Not a gr

5条回答
提交回复
热议问题