Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When dragging the item, the element's size and the drop area are not being recognized at their respective sizes. #2560

Open
wisepark-art opened this issue Dec 27, 2023 · 2 comments

Comments

@wisepark-art
Copy link

Expected behavior

Our expectation is that when a user drags an element, the user should be able to perceive the changed sizes of the dragged element and the drop target.

Actual behavior

actual_bug_dnd

Currently, the development progress looks as follows. When a drag event occurs, the size of the dragged item is reduced, but the drop area still maintains the same size as it was before the event occurred.

I have searched for similar items in the GitHub issue list. Then I read an article related to the 'onBeforeCapture' event and applied it to my code, but I could not solve the problem. If you have any experience with similar issues, please help me.

What version of React are you using?

  • react version "^18.0.0".

What version of react-beautiful-dnd are you running?

  • react-beautiful-dnd version "^13.1.1".

What browser are you using?

  • testing chrome version 120.0.6099.71
@NghiaDepTrai
Copy link

I have same issue

@Cillivian
Copy link

I have the same Question too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants