Click event change view to "Week" view



I have a problem with the year view and the month view.

When an event is clicked, the view changes from “year” to “week”. It’s the same with the mont view, it switched from « month » to « week » view.

How can I prevent it ??

Thanks for your return.


Hello @Ben1,
I tried to reproduce the issue in the snippet, but it seems to work properly:

In order for me to understand where the issue is, please, reproduce the code in the snippet above(after you reproduce the code, click on the “Share” button and send me the link).