Table turns white when scrolling after filtering
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
datatable turns white when scrolling after filtering, and return to normal state after scrolling once again.
- condition
- use
[scrollBarV]=true
option - scroll down a bit (away from the top) <- Important point
- filter items of the table to empty <- the bug not occurred if not empty
- return to the original items => table has gone to white, and return when scrolling.
Before filtering if the scrollbar is at the top (the state not scrolled), there is no bug.
Expected behavior
the table has to show items normally.
Reproduction of the problem
you can reproduce the bug here http://plnkr.co/edit/YtQgkkJ2sWHXVzk0rUSf
What is the motivation / use case for changing the behavior?
this bug causes confusion to users like there is no item in the table.
Please tell us about your environment:
macOS 10.12.6, npm 5.6.0
- Table version: 0.8.x
11.1.7 (also 11.2.0)
- Angular version: 2.0.x
Angular 5.2.0
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome 65.0.3325.162
- Language: [all | TypeScript X.X | ES6/7 | ES5] typescript 2.4.1, es5
Issue Analytics
- State:
- Created 6 years ago
- Reactions:20
- Comments:6
Top Results From Across the Web
Why is Html table row scrolling breaks when scrolling filtered ...
It happens because you are navigating between all rows and some of them are hidden after filtering. You have to iterate through them...
Read more >After sorting columns width breaks (using scroll) - DataTables
Hi people, i have a project build in C# ASP with jQuery, Boostrap, dataTable (DataTables 1.10.20), I have a HUGE table with many...
Read more >Guide to scroll anchoring - CSS: Cascading Style Sheets | MDN
How does it work? Scroll anchoring adjusts the scroll position to compensate for the changes outside of the viewport. This means that the...
Read more >Easy Power Apps Scrollable Screen Using A Vertical Container
In this article I will show the easiest way to make a scrollable ... to make it appear as if the skills are...
Read more >DT: An R interface to the DataTables library - GitHub Pages
R data objects (matrices or data frames) can be displayed as tables on HTML pages, and DataTables provides filtering, pagination, sorting, and many...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue: if i scroll the table and then update the rows data, the portion of table i scrolled has no rows.
I need the virtual scroll, so my temporary solution is:
It would be nice if it can be solved without that hack.
Related to #1449.
Gonna see if there is a possible fix by editing the source code.
Cheers!