nextcloud / nextcloud/calendar
Switching to the list view mode freezes the UI/grid
Open
Nobody has claimed this yet.
1. to develop
bug
Feature: Fullcalendar
skill:frontend
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Switch to the list view.
- Try to switch to any other view.
- Observe that the view is locked to the list view and you can not switch any longer.
Expected behavior
It should be possible to switch between views freely.
Actual behavior
Once I switch to the list view, I can not switch to any other view.
Calendar app version
main
Browser log
Uncaught (in promise) TypeError: can't access property "style", titleElement is null
__WEBPACK_DEFAULT_EXPORT__ eventDidMount.js:101
componentDidMount internal-common.js:2587
Preact 4
node_modules calendar-main.js:198823
flushSync internal-common.js:2253
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the freeze by switching to list view and then trying another view. Inspect eventDidMount.js around line 101, where the browser log reports titleElement is null, and trace the affected view lifecycle. Done means views can be switched freely after entering list view and the reported error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100