Skip to content

Add containment support to shuffle - #24

Merged
smoores-dev merged 1 commit into
mainfrom
shuffle/containment
May 19, 2026
Merged

Add containment support to shuffle#24
smoores-dev merged 1 commit into
mainfrom
shuffle/containment

Conversation

@smoores-dev

Copy link
Copy Markdown
Member

Containment allows for consumers to specify that a given node type shouldn't ever be allowed to be dragged out of a ancestor with the specified node type. I added an example to the demo. The idea is to prevent, e.g., a Card node type from being dragged from one Card Deck node to another Card Deck node, instead restricting each Card to being dragged around within its nearest Card Deck.

@smoores-dev
smoores-dev force-pushed the shuffle/containment branch from 7b42573 to 38507c4 Compare May 19, 2026 16:11
@smoores-dev
smoores-dev force-pushed the shuffle/containment branch from 38507c4 to 7ed71b1 Compare May 19, 2026 16:19
@smoores-dev
smoores-dev merged commit a93cd50 into main May 19, 2026
2 checks passed
@smoores-dev
smoores-dev deleted the shuffle/containment branch May 19, 2026 17:53
pdiffley pushed a commit that referenced this pull request Jun 5, 2026
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