You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That can't be done unfortunately because you can't make the browser wait for completion of an async function before calling preventDefault(). Since the injectables communicate with an async message to send the event, and then another back that would contain the bool you speak of, the event will have already happened and will no longer be preventable. I'm still thinking of a solution, suggestions welcome.
Are you able to get a bool result from the tap/click events? Then you can delegate this choice to the app.
See https://github.com/readium/kotlin-toolkit/blob/e5231436cac3a802fb5e406eda63bce4f1a5549d/readium/navigator/src/main/assets/_scripts/src/gestures.js#L33-L40
Originally posted by @mickael-menu in #12 (comment)
The text was updated successfully, but these errors were encountered: