-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix column resize on header cell using colSpan #2802
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2802 +/- ##
==========================================
+ Coverage 93.05% 94.30% +1.24%
==========================================
Files 40 39 -1
Lines 1268 1265 -3
Branches 405 406 +1
==========================================
+ Hits 1180 1193 +13
+ Misses 88 72 -16
|
This reverts commit d4c1ac1.
if (colSpan === null) return colSpanColumnsWidth; | ||
for (let index = 1; index < Number(colSpan); index++) { | ||
// nextElementSibling won't be null as all the colSpan columns are rendered | ||
colSpanColumnsWidth += currentTarget.nextElementSibling!.getBoundingClientRect().width; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is not correct. I wanted to put this PR back to draft
Co-authored-by: Nicolas Stepien <[email protected]>
No description provided.