Skip to content

[minor] larger and uniform legend capture zones #944

@monfera

Description

@monfera

Is your feature request related to a problem? Please describe.
Currently, the legend items capture the mouse only when hovering over the bounding box of the legend item ink:
legend capture

  • this causes flashing when the mouse moves from one item to the next
  • the indentation in the nested legend case also leads to flashing

Describe the solution you'd like
The entire legend row should be active, such that the

  • width use is maximized (100%) for capture, even if a legend item is indented, or one text is shorter than on other lines
  • height is also maximized, so there's no gap between rows

Describe alternatives you've considered
None

Additional context
These help not just with flash avoidance but also, easier and more predictable activation by the user and better Fitts law adherence.

If accepted, this could be added to #858

Kibana Cross Issues
Not aware

Checklist

Delete any items that are not applicable to this feature request.

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present

Metadata

Metadata

Assignees

No one assigned

    Labels

    :legendLegend related issueenhancementNew feature or requestreleasedIssue released publicly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions