[Bug]: js error from "confirm your password" dialog
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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
- set up NC AIO
- create a few users, files, etc
- 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
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
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