From: Ian Haggerty Date: Wed, 31 May 2023 04:40:38 +0000 (-0400) Subject: Fix disabled element tooltip stackblitz (#38623) X-Git-Tag: v5.3.1~99 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d9715e0636cd79527ece5a364a74dc3d3e99923;p=thirdparty%2Fbootstrap.git Fix disabled element tooltip stackblitz (#38623) * Load js for disabled button tooltip stackblitz * Remove surrounding useless `
` --------- Co-authored-by: Julien Déramond Co-authored-by: XhmikosR --- diff --git a/site/content/docs/5.3/components/tooltips.md b/site/content/docs/5.3/components/tooltips.md index cf628e344f..d41b6e2cd0 100644 --- a/site/content/docs/5.3/components/tooltips.md +++ b/site/content/docs/5.3/components/tooltips.md @@ -177,13 +177,11 @@ The required markup for a tooltip is only a `data` attribute and `title` on the Elements with the `disabled` attribute aren't interactive, meaning users cannot focus, hover, or click them to trigger a tooltip (or popover). As a workaround, you'll want to trigger the tooltip from a wrapper `
` or ``, ideally made keyboard-focusable using `tabindex="0"`. -
-{{< example >}} +{{< example class="tooltip-demo" stackblitz_add_js="true" >}} {{< /example >}} -
### Options