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
close icon

Items disabled Toolbar accepting click

Hello everyone,

I have a doubt about the behavior of the toolbar that even with the item disabled the click event is still triggered.
follows an sample project.

Attachment: jbjv5v.run_8974c5c4.zip

2 Replies

VM Vengatesh Maniraj Syncfusion Team September 4, 2019 10:34 AM UTC

Hi Adriano, 
 
Syncfusion Greetings. 
 
We have reproduced your reported scenario and logged the bug task. The fix will be included in any of our upcoming release. And also you can track the status of this issue in below link. 
 

Kindly be patience until then. 

Regards, 
Vengatesh  



KK Karthigeyan Krishnamurthi Syncfusion Team October 11, 2019 08:55 AM UTC

 
This issue can be fixed at sample side by disabling the parent node like below. 
 
document.getElementById('submit').onclick = () => { 
      toolbar.enableItems((document.getElementById('home').parentNode) as HTMLElement, false); 
    }; 
 
Regards, 
Karthi 
 


Loader.
Live Chat Icon For mobile
Up arrow icon