The provided target is no valid HTML element.

Author: samuelweiCreated Jul 25, 2022Updated Oct 1, 2025

Describe the bug

On many tests I receive this console log warning: [BootstrapVue warn]: tooltip - The provided target is no valid HTML element.

I don't use the Tooltip component, but the Tooltip directive.

Steps to reproduce the bug

Don't know, in some tests it is causing the issue, in some others it isn't

Expected behavior

Don't show the warning.

Versions

Libraries:

  • BootstrapVue: 2.22.0
  • Bootstrap: 4.6.1
  • Vue: 2.6.14

Source: bootstrap-vue/bootstrap-vue