TOC can't disappear automatically when mouse cursor leaved

Open Beginner friendly
#8,493 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

Reproduce the issue in a desktop browser by opening a Deck card's TOC, moving the cursor away, and confirming that it remains visible and obscures the detail. Trace the frontend code handling TOC visibility, hover, and pinning; done means an unpinned TOC disappears when the cursor leaves, while the existing mobile behavior remains unchanged.

Written by the indexing model from the issue text.

Description

Describe the bug
Detail of Deck have the toc, but different with text , toc will not disappear when mouse cursor leaves toc.
The bug is also exist in mobile(Androd) tablet.

To Reproduce
Steps to reproduce the behavior:

  1. Go to TOC
  2. Click on TOC, show the TOC
  3. Leave mouse cursor
  4. See TOC still exist and hide the detail

Expected behavior
TOC will disappear when mouse cursor leave toc just like nextcloud text if not pinned.

Client details:

  • OS: Linux (Fedora 44) and Windows
  • Browser : firefox
  • Version : 150.0
  • Device: desktop
Server details

Operating system: Ubuntu

Web server: apache

Database: mysql

PHP version: 8.5

Nextcloud version: 35.0.1

Where did you install Nextcloud from: docker

Dominant language
JavaScript
Stars
1.4k
Forks
363
Avg merge
1d 5h
Merged PRs (30d)
116

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.