Fix an issue with the Chip component whereby the tooltip "doubles up" if the consumer of the component (in this case Contact Center) mis-uses it slightly.
i.e. if the consumer specifies both the value property and the tooltipText property and both happen to be the same strings and the value string is long (wider than the popover), then the tooltip will appear as:
value, tooltip. See screenshot:
Related Issue
Motivation and Context
How Has This Been Tested?
I've used the Sandbox to verify my fix works. I added a new test "overflow" chip.
Screenshots:
Before (If applicable):
After:
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
https://jira-eng-sjc12.cisco.com/jira/browse/CX-16319
value
property and thetooltipText
property and both happen to be the same strings and the value string is long (wider than the popover), then the tooltip will appear as:value, tooltip. See screenshot:
Related Issue
Motivation and Context
How Has This Been Tested?
I've used the Sandbox to verify my fix works. I added a new test "overflow" chip.
Screenshots:
Before (If applicable):
After:
Types of changes
Checklist: