Skip to content

Conversation

Cerdic
Copy link

@Cerdic Cerdic commented Oct 9, 2020

When the loading time is too long (box trying to load an huge image on a slow network or slow ajax request whith a personal handler), the user is stuck in front of the dark loading box without any way to escape.

With the patch it is possible to close with the escape key as well as the close button while still loading.
As a result the lity:ready is never fired (the seems to me better than faking a ready fire) and the lity:close is triggered on element instead of content.

When the content is finaly loaded, it is silently ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant