-
Notifications
You must be signed in to change notification settings - Fork 72
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
Data Grid - Column Headers - Add tooltip on hover #809 #1133
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: keskami <[email protected]>
Signed-off-by: keskami <[email protected]>
Signed-off-by: keskami <[email protected]>
Signed-off-by: keskami <[email protected]>
Signed-off-by: keskami <[email protected]>
Signed-off-by: keskami <[email protected]>
@keskami For UI changes like this can you provide some screencasts or screenshots of the before and after behavior of the component? That makes it much quicker for reviewers to understand your intended changes. |
ok! I'll make sure to do that from now on |
Signed-off-by: Josh Romero <[email protected]>
setColumnWidth={setColumnWidth} | ||
/> | ||
) : null} | ||
<OuiToolTip position="top" content={id}> |
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 feel like a InnerText
would be a better method to get the contents rather than just using id
. Maybe we could otherwise use display || displayAsText || id
if using 2 refs is too much of an issue
Description
Adds tooltip to DataGrid header cell
Issues Resolved
Fixes #809
Check List
yarn lint
yarn test-unit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.