You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using unique data-tooltip values will allow tooltips to show unique messages, however, if two tooltips (correctly) show the same value, the second tooltip will not suppress the old-style, yellow box tooltip.
<ahref="header.com" data-tooltip="header" title="This is a header">Header</a><ul><li><ahref="list-item.com" data-tooltip="list-item" title="This is a list item">List Item 1</a></li><li><ahref="list-item.com" data-tooltip="list-item" title="This is a list item">List Item 2</a></li></ul>
In this example, the two list items should show the same tooltip. We should be able to assign a single data-tooltip value to these items. When we do, it works almost as expected... until the second list-item is hovered.
Assigning a unique data-tooltip value resolves the issue completely.
<ahref="header.com" data-tooltip="header" title="This is a header">Header</a><ul><li><ahref="list-item.com" data-tooltip="list-item1" title="This is a list item">List Item 1</a></li><li><ahref="list-item.com" data-tooltip="list-item2" title="This is a list item">List Item 2</a></li></ul>
But this can be cumbersome, and it no longer allows any tooltip items to be re-used -- every single tooltip has to be its own unique item.
Chrome v28.0.1500.95
OSX v10.8.4,
Foundation v4.3.1
The text was updated successfully, but these errors were encountered:
Hey @markalfred, the tooltip component is specifically designed to treat this as an ID, so it's not surprising that you would experience strange behavior when attempting to reuse the same ID. You'll notice in the documentation that it doesn't even show a value getting assigned to the data-tooltip (since it will be auto-generated and avoid problems like this).
That being said, I can definitely see the value in sharing a tooltip instance, but I think we need some significant retooling of how things work before this would be possible.
If you're passionate about seeing this changed, you might want to add your suggestion to the growing F5 Wishlist at #3100.
Since this behavior is as expected, I'll close this ticket.
This issue is similar to issue #2813.
Using unique data-tooltip values will allow tooltips to show unique messages, however, if two tooltips (correctly) show the same value, the second tooltip will not suppress the old-style, yellow box tooltip.
In this example, the two list items should show the same tooltip. We should be able to assign a single data-tooltip value to these items. When we do, it works almost as expected... until the second list-item is hovered.
Assigning a unique data-tooltip value resolves the issue completely.
But this can be cumbersome, and it no longer allows any tooltip items to be re-used -- every single tooltip has to be its own unique item.
The text was updated successfully, but these errors were encountered: