quasar icon indicating copy to clipboard operation
quasar copied to clipboard

QAlert handler not firing if no animation defined

Open spectrolite opened this issue 9 years ago • 1 comments

Software version

Quasar: 0.14

What did you get as the error?

handler function doesn't get called when clicking the action button of a q-alert (no errors, just not firing)

What were you expecting?

handler function to be called

What steps did you take, to get the error?

insert a q-alert tag in the HTML without specifying any enter/leave prop (issue raised by nicco91 and discussed yesterday on gitter at various moments in the afternoon and evening, with code samples)

Temporary solution:

adding an animation for the "leave" prop makes it correctly call the handler on click (after the animation has ended, which introduces an unneeded delay btw)

spectrolite avatar Jun 22 '17 16:06 spectrolite

Available in latest v0.14. npm update quasar-framework for it.

Thanks for reporting!

rstoenescu avatar Jun 23 '17 08:06 rstoenescu