Skip to content

ToolBar.add() does not trigger resize() #7118

@veselints

Description

@veselints

Bug report

ToolBar.add() method does not trigger resize() so that new buttons are always rendered in the ToolBar element

Reproduction of the problem

Run the following Dojo:
https://dojo.telerik.com/@[email protected]/IBiNEsEH

Observe the buttons added using the add() method. Those will always be added to the ToolBar element even if there is not enough space for them.

Expected/desired behavior

Buttons should not be rendered in the ToolBar element if not enough space is available for them.

Environment

  • Kendo UI version: 2021.3.1207
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions