Skip to content

Treeview and Selection #3698

Answered by snowystinger
lienas asked this question in Q&A
Oct 30, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Quick glance, I think you've doubled/tripled up on some listeners, you've sent itemProps into usePress and spread the result on the outer most Box, but then you've also spread itemProps again on the next Box, and then it's again spread onto the Box for expanded.

Try breaking some of that up into more specific handlers. You can call usePress multiple times if needed.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lienas
Comment options

@snowystinger
Comment options

@lienas
Comment options

@snowystinger
Comment options

@lienas
Comment options

Answer selected by lienas
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