Frontend: "Dismiss" button on snackbar

Created on 19 Aug 2020  路  5Comments  路  Source: home-assistant/frontend

The request

Make snackbar able to dismiss on button click

The alternatives

Wait for the snack bar to close

Additional information

Snackbar hides the profile button and sometimes actions like launching can take a long time.

image

feature-request hacktoberfest

Most helpful comment

Maybe have an option to click those messages to dismiss them?

All 5 comments

I'm 99% sure these can be dismissed with the escape key. (If you had another dialog open or something you might need to click the snackbar first to give it focus and _then_ press ESC.)

The startup message in your example pic is really the only outlier that stays on-screen for more than a few seconds. All the other ones will already be automatically dismissing by the time you read the message and maneuver your mouse down there. So while a dismiss button might be useful on this particular one, I don't think it's needed on all the others tbh...

Another alternative would be to move this one to the center of the screen so that it doesn't cover up the Profile in sidebar. But then it might possibly cover up Lovelace cards instead.

Sometimes the snackbar does not dismiss itself, and sometimes it closes Lovelace cards on the phone.

Maybe have an option to click those messages to dismiss them?

I'll do, assign to me, please.

鈽濓笍 PR was merged, should this be closed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SeanPM5 picture SeanPM5  路  3Comments

SeanPM5 picture SeanPM5  路  4Comments

GauthamVarmaK picture GauthamVarmaK  路  3Comments

Misiu picture Misiu  路  3Comments

wangyt123ng picture wangyt123ng  路  3Comments