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
If you toggle a pop-over from an element, and resize the browser window, the popover is no longer at the side of the element you requested. Is this the desired/ expected default behaviour?
id="element" is right on the button that it popsover, it sorta works, just
still slides horizontally, if you set the data-container to body then it
goes all over the place.
I'm having the same issue. The popup doesn't stay in place with the image (or button) used to open it. Does anyone have a fiddle example of successfully using the "container" option?
I'm having the same issue. The popup doesn't stay in place with the image
(or button) used to open it. Does anyone have a fiddle example of
successfully using the "container" option?
Reply to this email directly or view it on GitHubhttps://github.com//issues/12799#issuecomment-37542417
.
Activity
cvrebert commentedon Feb 20, 2014
Duplicate of #9517. Use Popover's
containeroption.radzhome commentedon Feb 20, 2014
It pins only to the x axis though, not the y
cvrebert commentedon Feb 20, 2014
Example please? (e.g. JS Fiddle, JS Bin, CodePen)
radzhome commentedon Feb 20, 2014
sure, one sec
radzhome commentedon Feb 20, 2014
http://jsfiddle.net/radzhome/u8Xd6/
Click "legend" button to toggle popover, resize window and watch it move horizontally. Correction, it pins to the y axis, not the x ...
cvrebert commentedon Feb 20, 2014
Please significantly simplify your example. Also, it's including multiple versions of Bootstrap; please use only v3.1.1.
cvrebert commentedon Feb 20, 2014
And you're not even using the
containeroption. /facepalmradzhome commentedon Feb 21, 2014
yeah i was data-container="#element" , n yeah I had it very simple... I guess it didn't save.
radzhome commentedon Feb 21, 2014
Check it out here, i guess it saved under different fiddle: http://jsfiddle.net/radzhome/u8Xd6/1/
cvrebert commentedon Feb 21, 2014
I don't think
#elementis an appropriate container, but I couldn't get it to resize properly withbodyor the button's parent either.radzhome commentedon Feb 21, 2014
id="element" is right on the button that it popsover, it sorta works, just
still slides horizontally, if you set the data-container to body then it
goes all over the place.
On Thu, Feb 20, 2014 at 7:38 PM, Chris Rebert notifications@github.comwrote:
ThomasBowen commentedon Mar 13, 2014
I'm having the same issue. The popup doesn't stay in place with the image (or button) used to open it. Does anyone have a fiddle example of successfully using the "container" option?
radzhome commentedon Mar 13, 2014
I think this only happens when the element (button) is position absolute.
On Thu, Mar 13, 2014 at 7:58 AM, Tom Bowen notifications@github.com wrote:
mdo commentedon Aug 2, 2014
Punting to the v4 checklist.