iTwin / viewer-components-react

Components built on iTwin.js for usability in an iTwin.js based Viewer.
MIT License
24 stars 33 forks source link

Tree widget: fix checkbox focus outlines #969

Closed jasdom closed 3 months ago

jasdom commented 3 months ago

Closes https://github.com/iTwin/viewer-components-react/issues/924 and https://github.com/iTwin/viewer-components-react/issues/916. Also slightly increased the size of categories tree nodes and fixed an issue where after scrolling to the right side of the widget, checkboxes would not properly cover the content behind them.

jasdom commented 3 months ago

Content of all trees got shifted to the right - was that intentional?

This was done on purpose as we previously had some padding, however that caused outlines when focused to not fit and be cut-off.