-
-
Notifications
You must be signed in to change notification settings - Fork 78.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
tooltip on input flicker #3501
Labels
Comments
that looks like it should work, could you please provide a jsfiddle? Thanks! |
closing for now. feel free to reopen with a fiddle. |
This was referenced Jan 7, 2021
This was referenced May 5, 2021
This was referenced May 26, 2021
This was referenced Jan 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I assign a tooltip to an input when there is a form validation error. After a few times of rendering it then begins to flicker on quickly then disappears on subsequent validation errors. Initially I thought I was binding multiple event handlers, but I am only initializing once then toggling states something like below. What am I doing wrong?
if (!this.renderFormError[key]) {
this.renderFormError[key] = true;
$target.tooltip({ trigger: 'manual' });
}
if (error)
$target.tooltip('show');
else
$target.tooltip('hide');
The text was updated successfully, but these errors were encountered: