This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Using popover & tooltip on the same element #2203
Comments
They will clash as they use the same scope variables. This is fixable, but it would make the code a bit clunkier and I'm not sure how common a use case this is. What does everyone else think? A workaround is to use a wrapping element like a |
My use case is quite simple, I have a navbar down the side of the frame with only icons representing their function, the tooltip is to provide the user with a more explicit description of the button's function. The popover was because some menu items won't link directly to a page, they will use a popover (with HTML support, when added) to have a sub-menu. |
+1, we have the same use case as @Siyfion |
We also have the same use case. |
chrisirhc
added a commit
to chrisirhc/angular-ui-bootstrap
that referenced
this issue
Nov 2, 2014
tt_ scope variables are now in the ttScope which is specific to each tooltip directive (multiple tooltip directives can now run on the same element). This allows tooltips to be used alongside any directive that may or may not require different scope types. Closes angular-ui#1269 Fixes angular-ui#2320 Fixes angular-ui#2203
chrisirhc
added a commit
to chrisirhc/angular-ui-bootstrap
that referenced
this issue
Nov 2, 2014
tt_ scope variables are now in the ttScope which is specific to each tooltip directive (multiple tooltip directives can now run on the same element). This allows tooltips to be used alongside any directive that may or may not require different scope types. Closes angular-ui#1269 Fixes angular-ui#2320 Fixes angular-ui#2203
OronNadiv
pushed a commit
to lanetix/bootstrap
that referenced
this issue
Nov 18, 2014
tt_ scope variables are now in the ttScope which is specific to each tooltip directive (multiple tooltip directives can now run on the same element). This allows tooltips to be used alongside any directive that may or may not require different scope types. Closes angular-ui#1269 Fixes angular-ui#2320 Fixes angular-ui#2203
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I could be wrong but it seems as though if you use both a tooltip and a popover on the same element, they get their wires very crossed.
Ideally, I'd like the tooltip to appear on mouseover and the popover to appear on clicking the button / link.
The text was updated successfully, but these errors were encountered: