microsoft / fluentui-contrib

Monorepo for contributor extension packages to Fluent UI
MIT License
31 stars 35 forks source link

bugfix(react-tree-grid): merges tabster attributes instead of replacing with props #215

Closed bsunderhus closed 3 months ago

bsunderhus commented 3 months ago

Fixes bug introduced by https://github.com/microsoft/fluentui-contrib/pull/211

In https://github.com/microsoft/fluentui-contrib/pull/211 we started overriding internal tabster attributes by the ones provided by props. This may cause behavioral issue due to props removing internal necessary tabster attributes.

This PR fixes this by using useMergedTabsterAttributes to merge internal attributes with props one instead of replacing