Skip to content

Keep scroll position when dismissing a notification#3200

Open
jancborchardt wants to merge 1 commit into
masterfrom
fix/dismiss-scroll-jump
Open

Keep scroll position when dismissing a notification#3200
jancborchardt wants to merge 1 commit into
masterfrom
fix/dismiss-scroll-jump

Conversation

@jancborchardt

Copy link
Copy Markdown
Member

When clicking the Dismiss button on a notification, the list jumps to the top. This is especially annoying with a long list of notifications.
There should be no jump, only the nice short animation when dismissing the notification.

Seemingly regression from #2959

Before: jumps to top on dismissing notification

Screencast.From.2026-07-15.18-23-54.webm

After: no jump

Screencast.From.2026-07-15.18-19-55.webm

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
@Antreesy

Antreesy commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

A bit hacky
Maybe you can try asking agent to read nextcloud/vue library, if that can be an upstream fix instead?

If I'm not mistaken, focus-trap should keep somewhere in memory the list of all tabbable nodes, and correctly handle it on losing one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏗️ At engineering

Development

Successfully merging this pull request may close these issues.

2 participants