Skip to content

constrain listbox dragging and selection to handles/triggers within listboxitem? #6572

Answered by snowystinger
binaryartifex asked this question in Q&A
Discussion options

You must be logged in to vote

If you wanted to separate them out, you could use GridList instead. Then depending on the combination of actions/dragging/selection they will act more independently from each other https://react-spectrum.adobe.com/react-aria/GridList.html#row-actions

The reason why you can't separate them in ListBox is explained here https://react-spectrum.adobe.com/react-aria/ListBox.html#text-slots so in a ListBox, they are as you've noted, an indication of what can be done.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@binaryartifex
Comment options

Answer selected by binaryartifex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants