-
Notifications
You must be signed in to change notification settings - Fork 398
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
Cb 5133 tree expand focus #2605
Conversation
focusable={!disabled && expandable} | ||
disabled={disabled || !expandable} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks a bit strange, is Clickable is focusable by default? if so then disabled items usually can't be focused (so disabled prop should be enough)
return ( | ||
<Clickable | ||
as="div" | ||
role="button" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be role
be a part of Clickable
?
No description provided.