Hitboxes for closestCenter? #188
Closed
ivanjeremic
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have used DNDKit before, where they offer the useful
closestCenterhitbox. However, I am having trouble finding a similar feature in the Pragmatic DND documentation. I looked at the hitbox docs documentation but couldn't find anything comparable. Themake-childoption from thetree-itemaddon seems somewhat related, but the focus of this library appears to be primarily on lists.If anyone knows how I can recreate the
closestCenterbehavior using Pragmatic DND, I would greatly appreciate your help!Beta Was this translation helpful? Give feedback.
All reactions