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

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

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.

3 Replies

SG Shyam G Syncfusion Team September 9, 2019 12:24 AM

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 

SJ Sudhanshu Jain September 9, 2019 01:32 AM

Thanks Shyam,

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

SG Shyam G Syncfusion Team September 10, 2019 12:09 AM

Hi Sudhanshu Jain,  
Thanks for your update. 
Shyam G 

Live Chat Icon For mobile
Up arrow icon