Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Issues with opening keyboard with <input autofocus> #898

Closed
cvan opened this issue Dec 17, 2018 · 2 comments
Closed

Issues with opening keyboard with <input autofocus> #898

cvan opened this issue Dec 17, 2018 · 2 comments
Labels
ARCHIVED CLOSED at time of archiving compatibility Web content compatibility issues P3 Backlog
Milestone

Comments

@cvan
Copy link
Contributor

cvan commented Dec 17, 2018

  1. Load the test case root page: https://webxr.sh/?#autofocus
  2. Click on the link for the test case.
  3. Notice the <input autofocus> gets automatically focussed and the keyboard does as well

Compare to this:

  1. Load the test case page directly: https://webxr.sh/autofocus.html (Or go press Back and Forward in history.)
  2. Notice the <input autofocus> gets automatically focussed, but the keyboard does not.
@cvan cvan added backlog compatibility Web content compatibility issues P3 Backlog labels Dec 17, 2018
@philip-lamb philip-lamb added this to the v1.x milestone Mar 11, 2019
@philip-lamb
Copy link
Contributor

In current build off HEAD, both tests produce the same behaviour, which is that the autofocus field is focussed and the keyboard does not appear until a click in that field. What is the expected behaviour here? If this is fixed, please close.

@bluemarvin
Copy link
Contributor

While not intuitive, I believe this is standard mobile behavior. Otherwise when navigating to a page with autofocus would cause the virtual keyboard to show and cover half the page.

@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving compatibility Web content compatibility issues P3 Backlog
Projects
None yet
Development

No branches or pull requests

4 participants