Closed Y-Theta closed 3 years ago
@20154530 What was your solution to this?
@andorfermichael See this https://github.com/jerrybendy/vue-touch-events#how-to-add-extra-parameters
Hi Jerry, Nice Library! Thanks for providing it to the community :) I have a usecase where I am using virtual scrolling, as well as intersection observers as sometimes I am dealing with 1000s of elements. These get dynamically created as you scroll around. This leads to a lot of misfires by v-touch when the elements are created. While I can probably filter the misfires out in a method, I assume isn't great for performance which is already quite stretched, is there any way to make this only trigger on a touch event?
@RichardCr I'm not understand you very clearly. Do you mean the disableClick
in configuration?
If not, you can open a new issue and give me some more details.
I bind touch:tap on my list item and when item rendered, the tap event self triggers