Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I found unexpected behavior of Schedule react component.
When I use a couple of views with the same option property (Month,Week, etc) and component has currentView property, view switching doesn't work properly.
My sample:
https://stackblitz.com/edit/react-tmfxet-blwfmc?file=index.js
I use state for storing currentView view in demo. (I my real project I use redux and external requests for getting data.)
Steps to reproduce:
1. Open sample. (2 weeks view - default)
2. Select 4 month view.
Expected: 4 month view opened, 4 month view button marked as active.
Obtained: 2 month view is opened.
Case 2:
If you click on 4 month button again, this view will be opened.
Case 3:
If you switch view with the same option now, view will be switched correctly till you select view with another option.