Skip to content

Site Editor: Snackbar timeout seems to reset on each 'save' action #53016

@jordesign

Description

@jordesign

Description

The snackbar appears to be set to have each instance fade out after 10 seconds of displaying. I found that when another 'save' action takes place it looks like it resets the counter.

In an instance where lots of changes and saves might be taking place (like the style variants) these can start to stack up significantly.

Screenshot 2023-07-27 at 8 03 19 pm

It then removes a single snackbar instance each 10s so it also takes a long time for them to move away in bulk.

Step-by-step reproduction instructions

  1. Open the site editor and go to 'Styles'.
  2. Select a new style and then click 'save'.
  3. repeat

Screenshots, screen recording, code snippet

This example is a massive exaggeration - but still possible to produce if lots of rapid changes are being made.

Screen.Recording.2023-07-27.at.8.02.25.pm.mov

Environment info

WP6.3 RC3
No plugins
TT3

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions