mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(tap-click): desktop also needs tap-click
This commit is contained in:
@ -28,7 +28,7 @@ export class App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidLoad() {
|
componentDidLoad() {
|
||||||
importTapClick(this.win, this.isDevice);
|
importTapClick(this.win);
|
||||||
importInputShims(this.win, this.config);
|
importInputShims(this.win, this.config);
|
||||||
importStatusTap(this.win, this.isDevice, this.queue);
|
importStatusTap(this.win, this.isDevice, this.queue);
|
||||||
}
|
}
|
||||||
@ -57,10 +57,8 @@ async function importStatusTap(win: Window, device: boolean, queue: QueueApi) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function importTapClick(win: Window, device: boolean) {
|
async function importTapClick(win: Window) {
|
||||||
if (device) {
|
(await import('../../utils/tap-click')).startTapClick(win.document);
|
||||||
(await import('../../utils/tap-click')).startTapClick(win.document);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function importInputShims(win: Window, config: Config) {
|
async function importInputShims(win: Window, config: Config) {
|
||||||
|
|||||||
Reference in New Issue
Block a user