Skip to content

[Discover][Lens] Right click on new Datatable when a flyout is open freezes the browser #100111

@dej611

Description

@dej611

Describe the bug:

When the new Datatable (EuiDataGrid) is below a flyout component (classic or custom as in Lens) then a right click action does freeze the browser.

If two flyouts (stacked) are open on top of a Datatable also a left click can leads to the same result.

Steps to reproduce:

Right click scenario:

  1. Open Discover with the new datatable
  2. Click on a row/Open the Inspect panel
  3. Now right click on a cell on the table
  4. 🥶

Left click scenario:

  1. Use the [Lens] Adds dynamic table cell coloring #95217 to create a datatable
  2. Open a second flyout via editing the palette for a dimension/metric
  3. Change the palette
  4. Left click on a cell on the table
  5. 🥶
    Fixed by Fix datagrid freezing on open flyout eui#4813

Expected behavior:

Browser/Window/Datatable does not freeze.

Any additional context:

We found out that keeping only a single FocusTrap enabled (used in flyouts) on the "left click" scenario manages to remove the bug in that specific case. There's still the pending issue with the "right click".

We managed to track back this bug since Kibana 7.12 .

Will open an issue on the EUI repo to fix this upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:DiscoverDiscover ApplicationFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceupstream

    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