We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using ClickArrowToExpand and the blueprint renderers, nothing happens when I click the arrow.
ClickArrowToExpand
To Reproduce Steps to reproduce the behavior:
Expected behavior The node should expand when clicking on its arrow.
The text was updated successfully, but these errors were encountered:
I believe the fix is to add arrowProps to the icon:
renderItemArrow: (props) => ( <ChevronRight className={cx( Classes.TREE_NODE_CARET, props.context.isExpanded ? Classes.TREE_NODE_CARET_OPEN : Classes.TREE_NODE_CARET_CLOSED )} // FIX {...(props.context.arrowProps as any)} /> ),
I casted as any because ChevronRight specifies children: never in its type whereas HTMLProps<any> defines children.
any
ChevronRight
children: never
HTMLProps<any>
Sorry, something went wrong.
fix: blueprintjs renderer arrow click handler (#3)
239fb0c
Thanks @floriancargoet!
Fixed, thanks for the implementation suggestion!
lukasbach
No branches or pull requests
Describe the bug
When using
ClickArrowToExpand
and the blueprint renderers, nothing happens when I click the arrow.To Reproduce
Steps to reproduce the behavior:
ClickArrowToExpand
Expected behavior
The node should expand when clicking on its arrow.
The text was updated successfully, but these errors were encountered: