Bootstrap Popover在放大/缩小或调整浏览器窗口大小时显示在错误的位置 [英] Bootstrap Popover showing at wrong place upon zoom in/out or resizing Browser window

查看:454
本文介绍了Bootstrap Popover在放大/缩小或调整浏览器窗口大小时显示在错误的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过放大或缩小来调整任何浏览器窗口的大小时.弹出窗口没有更新位置,也不显示在错误的位置.

When I re-size windows of any browser by zooming-in or zooming-out. Popover is not updating position and showing at wrong place.

在重新调整浏览器窗口的大小/缩放后,如何更改Bootstrap Popover的放置/位置.

How do I change the placement/position of Bootstrap Popover upon re-sizing / zooming the browser's window.

推荐答案

在Bootstrap 2.2.1中似乎工作正常(除非我理解您的问题是错误的).在 http://twitter.github.com/bootstrap/javascript.html#上尝试现场演示.模态,看看这是否是您想要的.我对窗口使用onresize事件来正确设置复杂模式及其内部的大小.

It seems to work fine in Bootstrap 2.2.1 (unless I am understanding your question wrong). Try the live demo at http://twitter.github.com/bootstrap/javascript.html#modals to see if this is what you are looking for. I use onresize event for the window to set the size of the complex modal and its innards correctly.

这篇关于Bootstrap Popover在放大/缩小或调整浏览器窗口大小时显示在错误的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆