Skip to content

[EuiDragDrop] Draggable is way out of the context when start dragging #3548

Closed

Description

@sergibondarenko

Kibana 7.7.1
Eui 24.1.0

This happens when a drag and drop list is EuiAccordion child. Here is the demo app https://github.com/sergibondarenko/kibana-plugin-dnd-demo

Screenshot

Screenshot 2020-06-04 at 09 50 49

Activity

  1. thompsongl commented on Jun 4, 2020

    @thompsongl
    Contributor

    Thanks for the repro repo, @sergibondarenko

    Looks like a classic case of transform: translateZ(0); interfering with a position: fixed; child element.

    Not sure yet how we'd want to handle this in EUI, but for now you can target .euiAccordion__childWrapper with transform: none; in your app to solve the problem.

  2. changed the title [-]Drag and drop draggable is way out of the context when start dragging[/-] [+][EuiDragDrop] Draggable is way out of the context when start dragging[/+] on Sep 20, 2020
  3. cchaos commented on Nov 16, 2021

    @cchaos
    Contributor

    For EuiAccordion specifically, we should investigate if that translateZ is necessary anymore. That might have been to help specific browsers animate more smoothly, but we should do some testing with the most current browsers (and now that we've dropped support for IE).

  4. cchaos commented on Nov 16, 2021

    @cchaos
    Contributor

    Also, lets add some docs addressing this general problem with DnD.

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