You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
one question.
In addRuntimeEvents you add the move, up and cancel listeners to document.
I've two nested scrolling container, the internal is managed by your code.
I've an external function that prevents scrolling on certain condition to avoid scroll on an external container while the internal does some particular action.
Basically if the scroll happens in the internal container scroll is prevented.
The funcion is registered on the same DOM element you manage.
By doing this, you never receive touchmove events.
By registering move on the sourceEl you still have events managed by you and developers are able to prevent the event somewhere along the chain between the managed DOM element and document.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
one question.
In addRuntimeEvents you add the move, up and cancel listeners to document.
I've two nested scrolling container, the internal is managed by your code.
I've an external function that prevents scrolling on certain condition to avoid scroll on an external container while the internal does some particular action.
Basically if the scroll happens in the internal container scroll is prevented.
The funcion is registered on the same DOM element you manage.
By doing this, you never receive touchmove events.
By registering move on the sourceEl you still have events managed by you and developers are able to prevent the event somewhere along the chain between the managed DOM element and document.
Thanks
The text was updated successfully, but these errors were encountered: