You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that this bug is caused by the_showSetupViewMode method, which only updates the this.optionsStore.currentView = 'clock', but does not update the this.optionsStore.currentCalendarViewMode. I think the currentCalendarViewMode does not support clock.
OptionsStores refreshCurrentView method updates the currentView property based on the currentCalendarViewMode, which will update the currentView back to calendar from clock.
Prerequisites
Describe the issue
Inline calendar with 'clock' viewMode gives error - doesn't display after updateOptions is used :
Cannot read properties of undefined (reading 'parentElement')
StackBlitz fork
https://stackblitz.com/edit/tempus-dominus-v6-simple-setup-zrlsxx?file=index.js
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of are you using? You can find this information from the sample StackBlitz.
6.9.4
What your browser's locale? You can find this information from the sample StackBlitz.
en
The text was updated successfully, but these errors were encountered: