googlearchive / paper-toast

A lightweight feedback about an operation in a small popup at the base of the screen on mobile and at the lower left on desktop.
17 stars 8 forks source link

Toast sometimes displays strangely #21

Open marutypes opened 9 years ago

marutypes commented 9 years ago

This glitch in paper-toast seems to speak for itself.

image image image

I have not changed the toast's logic or css. Other toasts appear fine, I am not sure what is up with this one. It only seems to happen after a core-overlay has just been closed.

image Above is an example of a toast displaying normally. Not sure how to help figure it out more.

marutypes commented 9 years ago

Tried to adjust the code after viewing #17 by using this.async to defer showing it.

image

Sadly, this did not resolve the issue.

Edit: setTimeout also does not resolve the issue. I think #17 was likely wrong to be closed.

brian-cruickshank commented 7 years ago

I'm seeing this with v1.3.0 of paper-toast. A workaround is to style the toast with a max-height (e.g. style="max-height:150px;")