+12
-1
lines changedFilter options
+12
-1
lines changed Original file line number Diff line number Diff line change
@@ -247,6 +247,8 @@ export const BVTooltip = /*#__PURE__*/ Vue.extend({
247
247
this.clearVisibilityInterval()
248
248
// Destroy the template
249
249
this.destroyTemplate()
250
+
// Remove any other private properties created during create
251
+
this.$_noop = null
250
252
},
251
253
methods: {
252
254
// --- Methods for creating and destroying the template ---
@@ -830,11 +832,20 @@ export const BVTooltip = /*#__PURE__*/ Vue.extend({
830
832
this.enable()
831
833
}
832
834
},
833
-
click() {
835
+
click(evt) {
834
836
if (!this.$_enabled || this.dropdownOpen()) {
835
837
/* istanbul ignore next */
836
838
return
837
839
}
840
+
try {
841
+
// Get around a WebKit bug where `click` does not trigger focus events
842
+
// On most browsers, `click` triggers a `focusin`/`focus` event first
843
+
// Needed so that trigger 'click blur' works on iOS
844
+
// https://github.com/bootstrap-vue/bootstrap-vue/issues/5099
845
+
// We use `currentTarget` rather than `target` to trigger on the
846
+
// element, not the inner content
847
+
evt.currentTarget.focus()
848
+
} catch {}
838
849
this.activeTrigger.click = !this.activeTrigger.click
839
850
if (this.isWithActiveTrigger) {
840
851
this.enter(null)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4