BosNaufal/vue2-scrollbar

Option to disable scrolling of parent container if at bottom of scroll

Opened this issue · 1 comments

I have an infinite scrolling type component that utilizes vue2-scrollbar. Using the onMaxScroll hook, when I get to the max scroll I issue an ajax call for more data. The issue arises if the ajax call takes a bit to return the body will start handling the scroll events and move.

Can an option be added to stopPropagation for the scroll events so the body doesn't scroll?