Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #29438
Closed
Open
Issue created Sep 25, 2019 by Administrator@rootContributor

[bug] Incorrect scroll position when elements focus in modal

Created by: tmcnicholls

  • Operating system and version: Android 9
  • Browser and version: Chrome 77.0.3865.92
  • Reduced test case: https://codepen.io/tmcnicholls/pen/oNvVBKX
  • Mobile debug: https://s.codepen.io/tmcnicholls/debug/oNvVBKX

Issue

On Android phones with Chrome, we see an issue with modals scrolling to the very bottom when selecting an input. This means the user cannot see the input they have just selected.

Firefox on Android seems to work ok, and iOS behaves differently but will half cover a selected input if it is at the bottom of the viewport before the keyboard appears.

The minimal test case seems to be related to having a long page above the modal trigger button. I have included a screen recording showing the issue.

https://vimeo.com/362257710

Assignee
Assign to
Time tracking