I have a website with only 2 Syncfusion Charts in it. The top one is an ej.charts.Chart (StackingColumn) and below an ej.grids.Grid with 15 items shown.
Both, the chart and the grid are auto-updated every 10 seconds, which all works.
If I now scroll down the webpage to the bottom, I can no longer see the top / StackingColumn chart, but every 10 seconds when the chart is updated (through chart.series.dataSource = <new data>), the whole page is scrolled up to the top chart.
How can I prevent this automatically scrolling away from the users viewpoint? (it only happens with the Chart, I do not have this problem when updating the table)
I have attached a 10 seconds video showing the problem.
I appreciate your help, thank you !
Greetings from Syncfusion.
We have considered the reported scenario as a bug and logged a defect report for the same. The fix for the reported scenario will be included in our weekly patch release which is expected to be rolled out on 14th March 2023. Please find the below feedback link to keep track of the reported scenario.
If you have any more specifications/precise replication procedure to be followed, please add it as a comment in the portal.
Thank you Swetha,
nothing to add from my side at this point.
Most Welcome! We will let you know once the fix is included in our weekly patch release.
We have included the fix for the reported scenario in our weekly patch release(v20.4.54). You can download the latest package from the below link.
You can upgrade the package to the latest version to resolve the reported scenario. Please get back to us if you need further assistance.
unfortunately it does not solve the issue.
If you check with your own stackblitz example:
and change the ej2.min.js to load the 20.4.54 version, the issue is still there.
Thank you for looking into it.
We have ensured the reported problem in attached sample. We have resolved the reported issue in latest patch release version; we also request you to remove the chart refresh method in sample while updating data. We have attached the tested sample for your reference.
If you are still facing problem, please get back to us. Kindly revert us if you have any other concerns.
thank you for mentioning that the 'refresh' method also had to be removed. I can confirm this issue is closed with the update.
We are glad to hear that the reported scenario gets resolved. Please get back to us if you need further assistance.