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

Scroll not working in toolbar

Dear Team,

Scroll is not working in ejs-toolbar version 20.4.40. I am sharing stackblitz example with you both scenario where when it is working or when it is not working.

https://stackblitz.com/edit/angular-lpa3p6?file=src%2Fapp.component.html,src%2Fapp.component.ts


Regards

Nagendra Gupta



1 Reply

VR Vijay Ravi Syncfusion Team January 9, 2023 03:23 PM UTC

Hi Nagendra,


You can resolve the problem by using the refreshOverflow method of the toolbar once the toolbar items rendering is completed.


Sample: https://stackblitz.com/edit/angular-lpa3p6-p4nr4w?file=src%2Fapp.component.ts


[App.component.ts]

    setTimeout(() => {

      if(this.toolbar) {

        this.toolbar.refreshOverflow();

      }

    }, 100);


Output screenshot:


Regards,

Vijay Ravi


Loader.
Live Chat Icon For mobile
Up arrow icon