iTwin / iTwinUI

A design system for building beautiful and well-working web interfaces.
https://itwin.github.io/iTwinUI/
MIT License
104 stars 38 forks source link

Button Group Overflow at Start #1252

Closed NancyMcCallB closed 1 year ago

NancyMcCallB commented 1 year ago

Discussed in https://github.com/iTwin/iTwinUI/discussions/1089

Originally posted by **NancyMcCallB** February 22, 2023 When setting the ButtonGroup's overflow to start, the overflow button renders at the beginning of the group, but the buttons overflow from the end of the group. This is counter-intuitive and not likely to be what is desired.

Here's a link to an iTwinjs sandbox to demonstrate. https://www.itwinjs.org/sandboxes/NancyMcCall/Overlay%20Toolbar%20with%20Overflow

mayank99 commented 1 year ago

@NancyMcCallB I've created a PR #1278, but I think this change could be considered breaking because the updated calculations will affect how many and which items are rendered.