Skip to content
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

Allow custom styles on dynamically added tooltips and popovers #7173

Closed
wants to merge 2 commits into from
Closed

Allow custom styles on dynamically added tooltips and popovers #7173

wants to merge 2 commits into from

Conversation

archonic
Copy link

@archonic archonic commented Mar 6, 2013

Since tooltips and popovers are added to the DOM with dynamic placement, it makes it difficult to add your own position style fixes. This allows styles to be added through existing "options".

This time it shouldn't break anything 😃

@archonic
Copy link
Author

archonic commented Mar 6, 2013

My specific case was to offset a popover and keep a menu on it's right visible:
http://stackoverflow.com/q/15139046/1686604

@archonic
Copy link
Author

archonic commented Mar 6, 2013

JS Usage fix:

$('.popover-selector').popover({html:true, trigger:'click', fixclass:'whatever-you-want'})

@archonic archonic mentioned this pull request Mar 6, 2013
@archonic
Copy link
Author

archonic commented Mar 6, 2013

It's a trap. This breaks popovers within a button group when hovering the second time. I'll eventually submit a pull request that actually works.

@archonic archonic closed this Mar 6, 2013
@archonic archonic deleted the 3.0-wip branch March 6, 2013 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant