[x] bug report => see 'Providing a Reproducible Scenario'
[] feature request => do not use Github for feature requests, see 'Customers of ag-Grid'
[] support request => see 'Requesting Community Support'
Issue:
When I set reactNext to true, cellRenderers appear to flicker during infinite scrolling. The flicker appears to occur when a new row block is requested.
Expected behaviour:
I would expect no flickering.
I need to enable reactNext since I'm performing custom logic using hooks in a custom column header component. If I remove reactNext the flickering goes away but my header components fail since I'm calling useContext inside them. The context isn't actually available so the header crashes and renders nothing.
Versions:
AgGrid 20.2.0
React: 16.8.6
Google Chrome
Any chance for some assistance here?
Hi,
Can you provide a reproducible scenario using one of our examples or your source code in a plunker and we will investigate?
Accepted reproducible scenarios are
If you decide to send us a plunkr, from any example in our website use the plunkr button in there to fork your own code by following the steps below:
If reporting a bug make sure to state.
Actual behaviour.
Expected behaviour. If possible back this up with our docs/examples if possible
Note that this issue is getting closed, but you are welcomed to create a new issue if you can provide us with a reproducible scenario
If you are an ag-Grid Enterprise Customer, please raise this in our Zendesk support system - contact [email protected] for access. This is our primary channel for Support.
Here's a plunkr that reproduces the issue: https://plnkr.co/edit/DFUgTC2c9pEt3JrSn5qb?p=preview
Whenever the columnDefs change, all cells rendered with a custom React component flicker. If reactNext is set to false, the flickering stops.
Most helpful comment
Here's a plunkr that reproduces the issue: https://plnkr.co/edit/DFUgTC2c9pEt3JrSn5qb?p=preview
Whenever the columnDefs change, all cells rendered with a custom React component flicker. If reactNext is set to false, the flickering stops.