Skip to content
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 tooltip location showing up incorrectly due to conflicting ids #1599

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

imatiach-msft
Copy link
Contributor

@imatiach-msft imatiach-msft commented Aug 2, 2022

Description

When clicking info icon in the local importances plot, the tooltip shows up in the wrong location due to duplicate ids "cross-class-weight-info" in the code. That id in the LabelWithCallout component seems to actually be inconsistent with what the component does, so I assume it was a copy-paste error. Giving the component a different id resolved the issue.

Before fix:
image

After fix:
image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@imatiach-msft imatiach-msft force-pushed the ilmat/fix-tooltip-location branch from 8ec0f9c to 5597d03 Compare August 2, 2022 14:08
1 similar comment
@gaugup
Copy link
Contributor

gaugup commented Aug 2, 2022

Can you add the output after your fix?

@imatiach-msft imatiach-msft merged commit 93eca66 into main Aug 2, 2022
@imatiach-msft imatiach-msft deleted the ilmat/fix-tooltip-location branch August 2, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants