Skip to content

Set bounds to parent, if parent has x-overflow, element cannot drag to the right edge of the parent #639

Description

@jaykou25

Description
set bounds to parent, if the parent element has x-overflow, the drag element cannot drag to the right edge of the parent.

// parent has x-overflow
<div>
  <Draggable bounds='parent'>
    <div>dragme</div>
  </Draggble>
<div>

Steps
https://codesandbox.io/s/crazy-violet-bs1t7x?file=/src/App.js

Expectation
The drag element can drag to the right edge of Parent.

Activity

  1. changed the title [-]Set bounds to parent, if parent has x-overflow, element cannot drag to the right edge of parent[/-] [+]Set bounds to parent, if parent has x-overflow, element cannot drag to the right edge of the parent[/+] on Mar 4, 2022
  2. jamesonhill commented on Jun 13, 2024

    @jamesonhill

    Probably a long shot, but did you ever figure this out?

  3. jaykou25 commented on Jun 13, 2024

    @jaykou25
    Author

    It seems that it has not been resolved yet.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions