Skip to content
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

Merged
merged 9 commits into from
May 21, 2024
Merged

Cb 5133 tree expand focus #2605

merged 9 commits into from
May 21, 2024

Conversation

devnaumov
Copy link
Member

No description provided.

@devnaumov devnaumov requested a review from Wroud May 10, 2024 16:57
@devnaumov devnaumov self-assigned this May 10, 2024
Comment on lines 93 to 94
focusable={!disabled && expandable}
disabled={disabled || !expandable}
Copy link
Member

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"
Copy link
Member

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?

@Wroud Wroud merged commit e3a859f into devel May 21, 2024
3 checks passed
@Wroud Wroud deleted the CB-5133-tree-expand-focus branch May 21, 2024 08:10
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.

None yet

4 participants