A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/issues/5598 below:

Warnings on Missing Target in Tooltip Component · Issue #5598 · bootstrap-vue/bootstrap-vue · GitHub

Is your feature request related to a problem? Please describe...

When a tooltip does not find its target element, the following warning is issued:

[BootstrapVue warn]: tooltip - Unable to find target element in document.

Firstly, it is hardly possible to find the target element in question because the target element id, which is available at the code location there the warning is issued, is not added to the message. Secondly, these warnings are issued even in production builds, which is imo superfluous, as this does not cause any harm.

Describe the solution you'd like
  1. Please add the target element ID to the warning message to make it easier to find the missing target element, respectively the tooltip in question
  2. Please add a way to suppress these warnings in production builds - by observing the environment variable NODE_ENV and/or by providing a configuration parameter
Describe alternatives you've considered Additional context

https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code


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