# gpui_web: Improve mobile keyboard focus handling \(\#63220\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5f1f7e634be61a21fa25411a27d210440ad6e1a8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5f1f7e634be61a21fa25411a27d210440ad6e1a8

Requested commit: 5f1f7e634be61a21fa25411a27d210440ad6e1a8

Commit: 5f1f7e634be61a21fa25411a27d210440ad6e1a8

Tree: c6b43cbdeac3f054766c0c6d7cffe866706d4638

Author: Gaauwe Rombouts

Committer: GitHub

## Message

```
gpui_web: Improve mobile keyboard focus handling (#63220)

Prevent mobile browsers from dismissing the software keyboard during
touch handling, and only activate the keyboard when a touch targets an
editable text input. On iOS, the hidden IME element is made editable
before it receives focus so the keyboard can reopen after interacting
with non-editable controls or dismissing it manually.

Release Notes:
- N/A
```

## Parents

- [b415b5d44793a6813c10452c6d1bc371629f3f11](https://git.cafe/gitcafe/zed/commit/b415b5d44793a6813c10452c6d1bc371629f3f11?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5f1f7e634be61a21fa25411a27d210440ad6e1a8?format=markdown)
