Skip to content

Conversation

tomivirkki
Copy link
Member

Fixes #1723

@@ -484,7 +484,7 @@
col._currentWidth = 0;
// Note: _allCells only contains cells which are currently rendered in DOM
col._allCells.forEach(c => {
const cellWidth = Math.ceil(c.getBoundingClientRect().width);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

element.getBoundingClientRect().width is affected by the visual scaling of the element whereas element.offsetWidth isn't. The original issue was caused by the grid being visually scaled during the dialog opening animation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sometimes ellipsis shown in selection column
2 participants