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

Fix isDragging set to true even when a non Mosaic Window is dragged #52

Merged
merged 1 commit into from
Nov 8, 2017

Conversation

4ian
Copy link
Contributor

@4ian 4ian commented Nov 7, 2017

Changes proposed in this pull request:

isDragging props of RootDropTargetsClass (and -dragging css class) is set to true even when the dragged item is not a MosaicDragType.WINDOW. This can be an issue as I have other DropTarget from react-dnd in my app, and when I drag anything else that is not a Window, RootDropTargetsClass is blocking the drag as it's displayed as a block.

The PR ensure that the container remains hidden when the dragged item is not a MosaicDragType.WINDOW.

Reviewers should focus on:

Is this breaking anything? :) Tested on the demo and everything looks still good.

Screenshot

N/A

@4ian
Copy link
Contributor Author

4ian commented Nov 7, 2017

For some reason CircleCI seems not to be reporting anything :/

@nomcopter
Copy link
Owner

That's weird. The build shows up on circle - looking into it.

@nomcopter nomcopter merged commit 13f9ba9 into nomcopter:master Nov 8, 2017
@4ian
Copy link
Contributor Author

4ian commented Nov 8, 2017

Thanks for your quick feedback 👍

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

Successfully merging this pull request may close these issues.

2 participants