iTwin / iTwinUI-react

A react component library for iTwinUI.
https://github.com/iTwin/iTwinUI
Other
84 stars 23 forks source link

fix(Table): Setting correct intersection root for margin to work #708

Closed bentleyvk closed 2 years ago

bentleyvk commented 2 years ago

Closes #699

Checklist

bentleyvk commented 2 years ago

@iTwin/itwinui-react-1 can you check this one, I am not a fan of what I did here but I don't know what else could be done. Another solution might be just making the user to tell us what is scrollable like intersectionRoot: 'table-body' | 'viewport' | HTMLElement

bentleyvk commented 2 years ago

New changes look good to me!