DataGrid make cells blank after horizontal scroll with ImmediateRenderer
See original GitHub issueThe issue occurs when ImmediateRenderer is being used. When the DataGrid has multiple columns and the content can be scrolled horizontally, cells’ content disappear as user keeps on scrolling.
Scenario to reproduce I’ve prepared minimal showcase application, available here: https://github.com/macpawluk/data-grid-immediate-renderer-bug
- Launch the app
- Try to scroll the
DataGridhorizontally
Observe the content is disappearing even though these cells are still visible in the viewport.
Expected behavior Cell’s content should stay visible if they remain in the viewport.
Screenshots


Desktop
- OS: Windows, Mac
- Version 0.10.4
Additional context
The issue occurs only when using ImmediateRenderer - it’s important in my case as in the project we use it as a solution for visual glitches on Mac M1 machines.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
WPF DataGrid horizontal scrollbar not showing
I think that when the Datagrid is empty, the ScrollViewer doesn't handle anything. Try to fill the columns by adding an ItemsSource ...
Read more >Cell content disappearing when scrolling horizontally
When person scrolls to the right and then left again, left cells are either empty or have wrong data in them.
Read more >WPF DataGrid with 1 frozen column - horizontal scroll ...
I have a very simple WPF app with a DataGrid with 1 frozen column. When I scroll horizontally (to the right or left)...
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 Free
Top 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

@macpawluk fixed in the 11.0 previews.
Here is a workaround that can be used:
credits to @donandren