Open neildaniels opened 1 year ago
I can reproduce the issue as well. After clicking on different points of the input few times, the keyboard comes up.
I found the source of issue. This is about preselected text
:
https://github.com/getkirby/kirby/blob/3.9.0-rc.2/config/areas/site/dialogs.php#L196
preselect: false and autofocus: true
for title
prop.I'm not quite sure if this is a browser issue (for mobile) or a Kirby related issue.
I am afraid it's somewhat a Kirby issue.
I first thought whether the InputElement.select()
method isn't properly working on browsers, but the demo on https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select worked on my mobile Safari.
What makes this really hard is that I haven't figured out a way how to get our dev setup accessible on my phone on my local network. So I have no way to test changes.
Description
On an iPhone, it's incredibly difficult to actually enter text entry mode when trying to edit the page title. Tapping on the "Title" text field doesn't actually bring up the keyboard. You either have to finagle with that field, or tap on the slug field first.
This is reproducible on the Kirby demo site.
Expected behavior
Tapping on "Title" text field should immediately bring up the keyboard.
Screenshots
To reproduce
Your setup
Kirby Version
3.8.3
Your system (please complete the following information)