Color picker makes the PWA window unfocusable
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 8.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Preflight Checklist
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe the bug
When using the color picker, the picker window will get the focus and make the main window lose the focus. When the picker window is closed, the main window cannot be restored.
To Reproduce
Steps to reproduce the behavior:
- open the PWA application
- set the fill color, line color, text color, etc;
- click pick color to open the picker window;
- click the main window, and the focus cannot be obtained;
- press ESC to close the picker window, but the main window focus cannot be obtained still.
Expected behavior
Clicking the main window when the picker window is open will directly close the picker window and make the main window get focus; The main window should get focus after the picker window is closed in any way.
Screenshots
Always unfocusable
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 30.3.6
Desktop (please complete the following information):
- OS: Windows 11
- Browser: edge
- Browser Version: 150.0.4078.48
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes
Contributor guide
No contributing guide indexed for this repository
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 issue in the PWA on Windows 11 with Edge 150.0.4078.48, focusing on the color picker window and its focus lifecycle. Trace how the picker opens, how the main window is clicked, and how the picker closes; the work is done when the main window reliably regains focus after either interaction or dismissal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100