Skip to content

ToolbarView should handle items grouping correctly when invisible #6575

@oleq

Description

@oleq

📝 Provide detailed reproduction steps (if any)

  1. The grouping should never happen if the toolbar is invisible. Because it always leads to all items groped and weird things when other features (like positioning algorithm) when they see the toolbar in such state

image

  1. The grouping that was triggered by changing ToolbarView#maxWidth when toolbar is invisible should be queued so the next time the toolbar shows up (ResizeObserver kicks in automatically), the items are re-grouped. This is a problem when maxWidth increased because there's no pressure to ungroup the items when the toolbar showed up.

Related to #6449.


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Metadata

Metadata

Assignees

Labels

package:uitype:bugThis issue reports a buggy (incorrect) behavior.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions