10BC0 Bug - DragDropSort/DragDropContainer - Cannot use if react root is not id="root" · Issue #12217 · patternfly/patternfly-react · GitHub
[go: up one dir, main page]

Skip to content

Bug - DragDropSort/DragDropContainer - Cannot use if react root is not id="root" #12217

@logonoff

Description

@logonoff

Describe the problem
A clear and concise description of the problem. Which components are affected?

@patternfly/react-drag-drop DragDropSort

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

Try using the component when with the react root being id='app' instead of id='root'

Expected behavior
A clear and concise description of the expected behavior.

It works

Is this issue blocking you?
List the workaround if there is one.

Yes, we cannot adopt @patternfly/react-drag-drop otherwise

Screenshots
If applicable, add screenshots to help explain the issue.

{canUseDOM ? ReactDOM.createPortal(dragOverlay, document.getElementById('root')) : dragOverlay}

What is your product and what release date are you targeting?

OCP 4.22

Any other information?


Jira Issue: PF-3465

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0