Closed yangshun closed 6 years ago
Related: The toast remains below the page content after it's dismissed, but it's visible on Macs when the page is over scrolled.
@taneliang Known upstream issue https://github.com/material-components/material-components-web/issues/1258
@ZhangYiJiang Ah. We could use this workaround for now. https://github.com/material-components/material-components-web/issues/1258#issuecomment-334368890
Hi! If this is not being worked on right now, is it ok if I attempt this?
Go right ahead. Let me know if you need help setting up or understanding the code.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Pressing on a keyboard shortcut shows a toast message at the bottom.
If the current behavior is a bug, please provide the steps to reproduce. If possible, please upload a screenshot or link to a video recording (on macOS you can use QuickTime) demonstrating the problem.
Keep spamming the keyboard shortcut and the toast eventually disappears, never to be seen again with further triggering of the shortcut.
I recommend just replacing the text if a toast is already shown, rather than hiding and showing again.
What is the expected behavior?
The toast should still appear.
Further information