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
{{ message }}
Repository navigation
<b-tooltip>/<b-popover>: Directive shows default browser title with a long show delay #4114
In version 2.0.0 a bug was introduced where if you provide a longer show delay(500ms and above), it will show the default browser tooltip based on the title.
This was not previously the case up until version 2.0.0-rc.28.
Steps to reproduce the bug
Add a popover/tooltip to a element
Add the directive with a hover trigger and a show delay of 500ms or higher
See that the default browser title appears before the tooltip/popover is shown.
Expected behavior
The tooltip or popover should override the default browser title and prevent it from being shown.
changed the title [-]<b-tooltip>/<b-popover>: Directive shows default browser title if you provide a show delay[/-][+]<b-tooltip>/<b-popover>: Directive shows default browser title with a long show delay[/+]on Sep 17, 2019
Yeah... will need to figure out a way to hide the title when the trigger has entered the "enter" phase, rather than when the tooltip actually shows.
We had decided to leave the original title on the trigger element until the tip shows for accessibility reasons (when screen readers read the page or section content, it will announce the title to them).
This would actually happen on the component versions as well if a title attribute was provided on the trigger element (although the component versions do not use the title attribute)
Activity
[-]<b-tooltip>/<b-popover>: Directive shows default browser title if you provide a show delay[/-][+]<b-tooltip>/<b-popover>: Directive shows default browser title with a long show delay[/+]tmorehouse commentedon Sep 17, 2019
Yeah... will need to figure out a way to hide the title when the trigger has entered the "enter" phase, rather than when the tooltip actually shows.
We had decided to leave the original title on the trigger element until the tip shows for accessibility reasons (when screen readers read the page or section content, it will announce the title to them).
This would actually happen on the component versions as well if a title attribute was provided on the trigger element (although the component versions do not use the title attribute)
fix(tooltip, popover): hide trigger element title attribute during en…
tmorehouse commentedon Sep 17, 2019
PR #4120 fixes the issue with the title attribute and the show delay.
fix(tooltip, popover): hide trigger element title attribute during sh…
tmorehouse commentedon Sep 20, 2019
BootstrapVue v2.0.2 has just been released, which includes a fix for this.