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

Use container instead of parent for tooltip/popover auto-placement calcs #14623

Merged
merged 1 commit into from
Sep 25, 2014

Conversation

cvrebert
Copy link
Collaborator

Fixes #14561.

CC: @fat for review

@cvrebert cvrebert added this to the v3.2.1 milestone Sep 15, 2014
@cvrebert cvrebert added the js label Sep 15, 2014
@hnrch02
Copy link
Collaborator

hnrch02 commented Sep 16, 2014

If only this had a unit test hint hint 😄 Anyways, I was thinking that using the viewport.selector option would actually make more sense here, but that wouldn't achieve the same result.

@cvrebert
Copy link
Collaborator Author

Fair point regarding the lack of unit test.

@hnrch02
Copy link
Collaborator

hnrch02 commented Sep 16, 2014

That's why I didn't open a PR with the change myself yet.

@cvrebert
Copy link
Collaborator Author

Okay, I added a unit test.

@hnrch02
Copy link
Collaborator

hnrch02 commented Sep 16, 2014

Great, LGTM.

cvrebert added a commit that referenced this pull request Sep 25, 2014
Use container instead of parent for tooltip/popover auto-placement calcs
@cvrebert cvrebert merged commit c15fffc into master Sep 25, 2014
@cvrebert cvrebert deleted the fix-14561 branch September 25, 2014 04:13
@cvrebert cvrebert mentioned this pull request Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tooltip/popover auto placement bug
2 participants