-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings on Missing Target in Tooltip Component #5598
Comments
You should be able to disable the warning in your production build by configuring this variable. |
@Hiws, Thank you for the information. Unfortunately, this does not have any observable effect in my case (i.e. the warnings are still issued) - neither when setting it at build time nor at runtime. If it worked, this would be a solution for 2. - even if it might be better to disable warnings in a more selective way. For now, I have implemented a brute-force wrapper for
as warnings arise very infrequently, this will not have a major impact on runtime performance. |
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
NODE_ENV
and/or by providing a configuration parameterDescribe alternatives you've considered
Additional context
https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code
The text was updated successfully, but these errors were encountered: