nextcloud / nextcloud/server

[Bug]: js error from "confirm your password" dialog

Open
#52,872 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 31-feedback bug feature: authentication feature: settings
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

After a fresh install of NC AIO, I noticed that often, when the "Confirm your password" modal dialog pops up, after the password is entered successfully, the underlying action is carried out, but the dialog itself does not close, and stays with a rotating icon in the inactive "confirm" button.
The JS error reported is

Error: Your focus-trap must have at least one container with at least one tabbable node in it at all times
    at y (focus-trap.esm.js:410:13)

Tested on both Chrome and FF.

Steps to reproduce
  1. set up NC AIO
  2. create a few users, files, etc
  3. carry out an action which require a password confirmation
Expected behavior

The modal dialog to be closed

Nextcloud Server version

31

Operating system

None

PHP engine version

PHP 8.4

Web server

None

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

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

Start by reproducing the password-confirmation modal after an action in a fresh Nextcloud AIO installation, then inspect the reported focus-trap.esm.js error and the modal behavior. Done means the underlying action still completes and the confirmation dialog closes without leaving the confirm button spinning.

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
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.