Skip to content

Odd behavior when using EuiPopover in tables #959

@cchaos

Description

@cchaos

This example just shows the sort dropdown, but the same behavior happens on any popover like multiple actions.

This example just starts in responsive layout for tables, but happens at wider widths too.

Link to gif if not showing inline

There are 3 things happening here:

  1. When clicking the popover button, the page auto-scrolls back to the top.
  2. The popover isn't getting the correct position until the browser's width is changed.
  3. When the browser's width is widened to get out of responsive table mode, which removes the sort dropdown, the popover stays open but doesn't have anything to position against anymore, so it's in the top left.

__

I consider this a blocker as this functionality can now break in current table implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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