Skip to content

Clicking an input while a popup is open should set the focus to the input #706

Description

@apollo13

Bug description

When I open a popup and then click into an input the popup closes but the focus from the input is also lost. I think it would improve UX if selecting the input wouldn't need two clicks (especially since clicking into the input shows the cursor for a split second).

Reproduction project

https://melon-comfortable-flame.glitch.me/

Steps to reproduce the behavior:

  1. Go to reproduction project linked above
  2. Click on 'click me"
  3. Click into the input field

Expected behavior

Cursor should stay in the input once the popup is closed.

Browser version

  • OS: Fedora
  • Browser Firefox
  • Version 134

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions