-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Migrate ml-info-icon to React/EUI. Fixes related IE11 error. #20610
Conversation
Pinging @elastic/ml-ui |
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.
LGTM
💚 Build Succeeded |
Once EUI |
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.
LGTM
content={text} | ||
position={position} | ||
/> | ||
<span id={'ml_aria_description_' + id} className="ml-info-tooltip-text">{text}</span> |
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.
nit, id could be a template literal
💚 Build Succeeded |
…astic#20610) - Migrates the ml-info-icon directive to use React/EUI. This fixes a related error in IE11. - For now a hard-coded override is used to size the icon because EuiIconTip doesn't pass on the size attribute to the wrapped EuiIcon directive. - The (simple) React component is kept within the directive's, because previously the directive template also wasn't in a separate file. - Removes the unused mlJsonTooltipService angular service.
…0610) (#20665) - Migrates the ml-info-icon directive to use React/EUI. This fixes a related error in IE11. - For now a hard-coded override is used to size the icon because EuiIconTip doesn't pass on the size attribute to the wrapped EuiIcon directive. - The (simple) React component is kept within the directive's, because previously the directive template also wasn't in a separate file. - Removes the unused mlJsonTooltipService angular service.
ml-info-icon
directive to use React/EUI. This fixes a related error in IE11.EuiIconTip
doesn't pass on thesize
attribute to the wrappedEuiIcon
directive.mlJsonTooltipService
angular service.