4 ms·
I'm currently rewriting a legacy application to use Pointer Events + pepjs polyfill. Your experiences don't align super well with mine. I'm curious as to why.
by SeanAnderson 7y ago
I'm currently rewriting a legacy application to use Pointer Events + pepjs polyfill. Your experiences don't align super well with mine. I'm curious as to why.
What does vdom diffing / dynamic page content have to do with using pointer/touch/mouse events?
If anything, the last scenario you describe sounds like it would be mitigated by use of https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture https://developer.mozilla.org/en-US/docs/Web/API/Element/set... which is only available to PointerEvent implementations?
- robocat 7y agoI found setPointerCapture() caused multiple bugs in corner cases (including one regression a while ago that completely broke our touch support in Chrome desktop). Maybe the support has improved in Chrome and Firefox, but I would be very careful to test Safari support before I relied 100% upon Touch Events.