Auto scroll after focus diagram

Hi,  When we click anywhere on diagram, the diagram gets focused and it is the default behavior of  diagram control. But problem after focus diagram starting scrolling. Reproduce this behavior  need increase height of the diagram larger than the screen. How disable auto scroll diagram after focus?

I saw same questions on this topic but there was no solution anywhere.


1 Reply

SS Sivakumar Sekar Syncfusion Team October 27, 2021 01:06 PM UTC

Hi Artem, 

On further analysis of your query, we suspect that you need to prevent the browser from scrolling when we click inside the diagram with a height greater than the screen height. If we have a diagram height greater than the screen size, then while clicking on the diagram, the diagram will be set to be on focus. This is the default behavior of the diagram. To fit the focus element into the viewport, the browser will adjust the view. To avoid browser scrolling, we need to set the diagram height less than the screen size, so that the diagram does not get auto scrolled. 

Regards, 
Sivakumar 


Loader.
Up arrow icon