You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
now if I focus the input and start typing, ideally I would like the tooltip to appear when $valid becames false which is not going to happen unless I mouseleave and mouseenter again..
and the problem is the other way around as well, if I mousenter and $valid is false, tooltip's gonna be visible, if $valid becames true, tooltip's not gonna dissappear, it's just gonna get its text removed
Not ideal and sadly the setTimeout(...) is to circumvent an issue with positioning the next time the tooltip is shown. It doesn't center correctly if you call showTooltipBind() directly.
codedogfish
pushed a commit
to codedogfish/angular-ui-bootstrap
that referenced
this issue
Sep 15, 2015
Let's say I have an input
<input ng-model="url" tooltip="{{ form.url.$valid | returnOnlyWhenFalse }}" name="url" type="url" />
now if I focus the input and start typing, ideally I would like the tooltip to appear when $valid becames
false
which is not going to happen unless Imouseleave
andmouseenter
again..and the problem is the other way around as well, if I
mousenter
and $valid isfalse
, tooltip's gonna be visible, if $valid becamestrue
, tooltip's not gonna dissappear, it's just gonna get its text removedyou can see this behaviour here http://angular-ui.github.io/bootstrap/#/tooltip focus the dynamic input and the mouseover the dynamic tooltip
any idea how can I "hotfix" this?
The text was updated successfully, but these errors were encountered: