-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Upgrade to Tabulator 5.3.2 #3784
Conversation
@philippjfr I expected this test - |
Testing this on real apps, I've seen many warnings related to events being triggered when they shouldn't (redraw in particular). I've also seen this error multiple times: |
So it doesn't actually disappear, the problem is that the scrollbar disappears when there are no rows, which in turn means you cannot see all the rows in the header. Not sure I'll be able to resolve this immediately.
Got a fix for this I'll push up shortly. |
b28b7f9
to
3519cdb
Compare
I did resolve it. Had to add this: this.tabulator.on("dataFiltered", (_: any, rows: any[]) => {
if (this._initializing)
return
// Ensure that after filtering empty scroll renders
if (rows.length === 0)
this.tabulator.rowManager.renderEmptyScroll()
// Ensure that after filtering the page is updated
this.updatePage(this.tabulator.getPage())
}) |
Codecov Report
@@ Coverage Diff @@
## master #3784 +/- ##
==========================================
+ Coverage 82.93% 82.96% +0.03%
==========================================
Files 220 221 +1
Lines 32047 32205 +158
==========================================
+ Hits 26579 26720 +141
- Misses 5468 5485 +17
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Great work @maximlt! |
Fixes #3695