-
Notifications
You must be signed in to change notification settings - Fork 22
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
[React] DP-13409: Fix onclick function not being called in Tabs Container #529
[React] DP-13409: Fix onclick function not being called in Tabs Container #529
Conversation
tab and key up/down also needs to trigger handleClick |
@@ -76,9 +84,9 @@ const Tab = React.forwardRef((props, ref) => ( | |||
e.target.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' }); | |||
if (activeTab !== tabIdent) { |
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.
i think this can be removed, it's condition is never true?
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.
sorry wait, i think we need to expose the tab text to be able to use on the buget side. Currently, onTabChange
is returning content. i think we need to create a ref for the project side to be able to select the inner text of the tab
added necessary in budget in this pr --> https://github.com/massgov/budget/pull/207 |
Patch
Fixed