Chrome / FF & положение сообщений проверки / предложения по умолчанию - PullRequest
0 голосов
/ 13 марта 2019

У меня проблема с абсолютным контейнером с высотой / шириной и переполненным содержимым:

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;
}

Когда я пытаюсь вызвать проверку ввода или раскрывающийся список автозаполнения, все в порядке. Пока я не прокручиваю свой контейнер. Положение больше не является правильным. Есть ли обходной путь по этому поводу? enter image description here

enter image description here

Как заставить всплывающие окна и всплывающие подсказки браузера обновлять свою позицию?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...