-
Notifications
You must be signed in to change notification settings - Fork 90
Fix lint errors #50
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
Fix lint errors #50
Conversation
…rpicker and fix a a11y warning.
…tualized to capture event on ro
Codecov Report
@@ Coverage Diff @@
## dep-bump #50 +/- ##
===========================================
+ Coverage 0.02% 0.02% +<.01%
===========================================
Files 285 284 -1
Lines 8333 8255 -78
===========================================
Hits 2 2
+ Misses 8331 8253 -78
Continue to review full report at Codecov.
|
| }}> | ||
| <h3 | ||
| onClick={this._toggleExpanded} | ||
| onKeyDown={(e) => { |
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.
Seems like this keyDown handler is implemented the same way in a lot of places. We should make a helper for the default action.
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.
Yea, maybe a higher order component for accessible interactions?
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 would say create a ticket and we should consider that in the future but leave it out for now.
No description provided.