Re rendering toolbar issue when state of component changed in functional based components

Hi,
I am using toolbar component with custom template properties like below

https://stackblitz.com/edit/react-cts62t?file=index.js

Initially it is rendered correctly but when state of component changed using changeState button,then the it will render only one item in toolbar
This issue is only with functional based component not with class based as i observed.
kindly please look into this issue.

5 Replies 1 reply marked as answer

SK Satheesh Kumar Balasubramanian Syncfusion Team May 27, 2021 04:40 PM UTC

Hi Darek, 
  
Thanks for using Syncfusion Products. 
  
We have validated your reported query “Toolbar issue when state of component changed in functional based components” and confirmed this as defect at our end. So, we have logged the bug report which can be tracked from the following link. 
  
  
The issue fix for this defect will be included in our weekly patch release which is expected to be rolled out by June 8, 2021. We would appreciate your valuable patience until then. 
  
Regards, 
Satheesh Kumar B 




NR Nevitha Ravi Syncfusion Team June 8, 2021 12:58 PM UTC

Hi Darek, 

Thanks for being patience. 

We are glad to announce that our weekly patch release v19.1.67 is rolled out successfully. In this release, the toolbar issue when state of component changed has been resolved. So, we suggest you upgrade our Syncfusion package to latest version to avail this fix.  
                      
Kindly check the reported defect in the latest version and get back to us if you need any further assistance.  

Regards, 
Nevitha 


Marked as answer

JC Jean Caiza replied to Nevitha Ravi January 12, 2023 05:22 PM UTC

same problem when I mutate from toolbar.items[0].cssClass,custom templates disappear.

version: 
20.4.40



SR Swathi Ravi Syncfusion Team January 13, 2023 03:05 PM UTC

Hi Jean,


We confirmed your reported problem “Toolbar template disappear when click the toolbar item” as a bug and logged the defect report. The fix for this defect will be included in our upcoming weekly patch release, which is expected to be rolled out by end of January 2023. You can track the status of the fix at the following link:


Feedback : https://www.syncfusion.com/feedback/40388/toolbar-template-disappear-when-click-the-toolbar-item


Disclaimer: Inclusion of this solution in the weekly release
may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Swathi Ravi



RV Ravikumar Venkatesan Syncfusion Team February 8, 2023 06:12 PM UTC

Jean, The fix for the issue “Toolbar template disappear when click the toolbar item” has been included in our weekly release 20.4.49. Upgrade to the latest version to resolve the issue.


Sample: https://stackblitz.com/edit/ej2-react-toolbar-template-sample?file=src%2FApp.js

Release notes: https://ej2.syncfusion.com/react/documentation/release-notes/20.4.49/?type=all#toolbar


Loader.
Up arrow icon