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

Firefox dragover #1333

Merged
merged 2 commits into from
Nov 16, 2020
Merged

Firefox dragover #1333

merged 2 commits into from
Nov 16, 2020

Conversation

c-lamoureux
Copy link
Contributor

This is picking up from a separate PR that is stale: #1053
There has been a related issue opened since the original PR: #1324

If you try to drop an item over a placeholder in Firefox, the onDrop function is not invoked.

I found that with the current state of the project, it was only necessary to add preventDefault() to the event when using Firefox to resolve this.

@STRML
Copy link
Collaborator

STRML commented Nov 16, 2020

Thanks!

@STRML STRML merged commit 0d0103c into react-grid-layout:master Nov 16, 2020
@vocko
Copy link

vocko commented Nov 16, 2020

@STRML Could an npm release be created with this fix, please? And thanks for the whole project, I really love your library!

@STRML
Copy link
Collaborator

STRML commented Nov 17, 2020

Yep - released as 1.2.0.

@vocko
Copy link

vocko commented Nov 18, 2020

Yep - released as 1.2.0.

Thanks heaps mate!

@sayo96
Copy link

sayo96 commented Jan 31, 2023

I'm experiencing something strange. Look at this issue - #1838

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

Successfully merging this pull request may close these issues.

4 participants