Good day.
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:
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.
Regards, Pavel