Skip to content

[tooltip] Pressing Esc should close all open tooltips at once #4463

Closed

Description

@web-padawan

Description

Currently, when there are two tooltips open, pressing Escape only closes one of them.

tooltip-esc.mp4

Expected outcome

Both tooltips should be closed.

Minimal reproducible example

Can be reproduced on the dev/avatar-group.html page in this repo.

Steps to reproduce

  1. Focus the avatar with keyboard
  2. Move mouse over another avatar
  3. Press Escape key

Environment

Vaadin version(s): 23.3 (master)

Browsers

No response

Activity

  1. self-assigned this
    on Sep 2, 2022
  2. jouni commented on Sep 2, 2022

    @jouni
    Member

    I could also argue that there should be no more than one tooltip visible at any given time.

  3. web-padawan commented on Sep 2, 2022

    @web-padawan
    MemberAuthor

    I could also argue that there should be no more than one tooltip visible at any given time.

    Yes, this was my original idea. I changed that in 5208551 based on the comment #4392 (comment).
    We probably can still implement this behavior, but let me create a separate issue for it.

  4. jouni commented on Sep 2, 2022

    @jouni
    Member

    Alright, thanks for the clarification. By no means a critical issue, so let’s wait if it becomes an issue in practice before creating an issue about it.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions