-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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/Popover container option is not implemented #17755
Comments
I'd like to contribute to this module, but can anyone summarize why just copy/pasting the v3 code wasn't done? I'm a first-time contributor, so missing the context for this "oversight". |
issue seems to be https://github.com/twbs/bootstrap/blob/v4-dev/js/src/tooltip.js#L275 I'm gonna make a fork and see if I can time box a fix |
I'm out of time to hack on this -- it's not a simple issue given the Tether dependency
happy to share notes with anyone that picks up this ticket |
Has there been any movement on this issue? Seems to have gone a bit quiet but the |
@andyexeter I also bumped into this issue right now with the same findings as you. Too bad there is no fix available for this yet. |
@lekkerduidelijk hopefully two people bumping the issue will create a bit of movement on it :) @amites when you say "changing the |
I wasn't experiencing the issue @amites was seeing with the |
Looks like I spoke too soon with the previous comment. In my testing, certain elements were working fine as the container and others had the popup moved to the body after I had a look through the Tether source code and read this PR and I know what's going on now. Tether moves the popover/tooltip to the body if the |
Closed with manual merge of #20725. |
@andyexeter is right. |
V4 documentation shows the container option exists but it is not actually implemented in the code.
http://v4-alpha.getbootstrap.com/components/tooltips/#options
https://github.com/twbs/bootstrap/blob/v4-dev/js/src/tooltip.js#L28
Also found 2 unit tests which attempt to use the option even though it is not implemented.
https://github.com/twbs/bootstrap/blob/v4-dev/js/tests/unit/tooltip.js#L331
https://github.com/twbs/bootstrap/blob/v4-dev/js/tests/unit/tooltip.js#L661
The text was updated successfully, but these errors were encountered: