nextcloud / nextcloud/calendar

Switching to the list view mode freezes the UI/grid

Open
#7,469 3 comments 0 reactions 0 assignees View on GitHub

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
  1. Switch to the list view.
  2. Try to switch to any other view.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.