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: drag on toolbar handle into a scope #253

Merged
merged 1 commit into from
May 3, 2023

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented May 3, 2023

Dragging on the toolbar handle into the scope might not work.

This is because the new darg handler in the toolbar (#248) is outside of the node, and there was a check that will prevent moving into a scope. The check was used to restrict a node not to be moved outside its parent scope. This restriction was removed in #236 to support auto-shrink/enlarge, so we no longer need to check the positions. Removing that check fix the regression.

The scope should have a shadow when a node is dragging over it. The dragging shadow was not working due to a CSS class name change in #241, this PR fixes that as well.

@lihebi lihebi merged commit 04db0a1 into codepod-io:main May 3, 2023
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.

1 participant