Merge pull request #1106 from dmitrylyzo/fix-inputmanager-trigger

Fix inputManager trigger
This commit is contained in:
dkanada 2020-04-20 23:27:45 +09:00 committed by GitHub
commit 2eeabd38ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,6 +235,9 @@ import appHost from 'apphost';
} }
} }
// Alias for backward compatibility
export const trigger = handleCommand;
dom.addEventListener(document, 'click', notify, { dom.addEventListener(document, 'click', notify, {
passive: true passive: true
}); });