We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Auto scroll of page (to the left and down) on drag of nodes beyond the page border is not working.

Thread ID:





147332 Sep 6,2019 08:05 AM UTC Sep 10,2019 05:09 AM UTC React - EJ 2 3
Tags: Diagram
Sudhanshu Jain
Asked On September 6, 2019 08:05 AM UTC

Hi ,
Below is the issue and expected output,

Issue: When we drag the node or connector beyond the page border on to the left or to the bottom, page is not getting auto scrolled.
In the documentation preview also the scroll is not working to the left and bottom of the page. 

Expected output: Page should be automatically scrolled on drag of nodes/connectors beyond the page borders.

Please let me know if there is any solution achieve the expected output.

Shyam G [Syncfusion]
Replied On September 9, 2019 05:24 AM UTC

Hi Sudhanshu Jain, 

Please use scrollSettings canAutoScroll property to achieve your requirement. Please refer to an code example and sample below. 

Code example
          //autoscroll of a page on drag of nodes beyond the page border/diagram view 
              canAutoScroll: true 
           }} /> 

Shyam G 

Sudhanshu Jain
Replied On September 9, 2019 06:32 AM UTC

Thanks Shyam,

We are able to achieve auto scroll using the solution you have provided.

Shyam G [Syncfusion]
Replied On September 10, 2019 05:09 AM UTC

Hi Sudhanshu Jain,  
Thanks for your update. 
Shyam G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon