我对高度/宽度和内容溢出的绝对容器有疑问:
https://jsfiddle.net/829b01d4/
<div class="wrapper">
<form>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop</p>
<label for="email">Email</label>
<input id="email" type="email" />
<p>
publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer
took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset
sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<button type="submit">HitmE!</button>
</form>
</div>
css:
.wrapper {
position: absolute;
width: 300px;
height: 500px;
background: #cecece;
overflow: auto;
}
当我尝试触发输入验证或自动填充下拉菜单时,一切正常。直到我滚动容器。位置不正确了。有什么解决方法吗?
如何强制此浏览器弹出窗口和工具提示更新其位置?