We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5afb29f commit cd6f965Copy full SHA for cd6f965
1 file changed
packages/canvas-polyfill/window.ts
@@ -166,9 +166,8 @@ if ((global as any).document) {
166
(global as any).document.readyState = 'complete';
167
}
168
169
-if (!global.ontouchstart) {
170
- global.ontouchstart = () => {};
171
-}
+(global as any).window.ontouchstart = global.ontouchstart = () => {};
+(global as any).window.onpointerdown = global.onpointerdown = () => {};
172
173
(global as any).window.setTimeout = setTimeout;
174
(global as any).window.setInterval = setInterval;
0 commit comments