Skip to content

Color picker makes the PWA window unfocusable #5671

Description

@RainbowC0

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:

  1. open the PWA application
  2. set the fill color, line color, text color, etc;
  3. click pick color to open the picker window;
  4. click the main window, and the focus cannot be obtained;
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions