royale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [royale-asjs] javeiga-iest opened a new issue #886: always dispatches cancel event.
Date Mon, 13 Jul 2020 09:12:06 GMT

javeiga-iest opened a new issue #886:

   **Some Context**
   Depending on the browser, a focus, key or mouse handler is triggered ... when the file
selection form is closed.
   Then maybeCancel function is called with a timeout of 100ms:
   The maybeCancel function, analyzes if there are selected files, if there are no files,
interprets it as that there has been a cancellation (since we cannot get the cancel event
   When calling maybeCancel function, the length of the file list is always 0, so cancel event
is always dispatched.
   **Our solution**
   Increasing the response time of the maybeCancel function to 150ms solves the problem.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message