# gpui\(web\): Pass events to input handlers and handle IME composition \(\#50437\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b9dce952072c26f0415c2da22247ebc326bd30b2

Requested commit: b9dce952072c26f0415c2da22247ebc326bd30b2

Commit: b9dce952072c26f0415c2da22247ebc326bd30b2

Tree: 260cc418949e9ef5b107b7e43d77591b9f569ec7

Author: Owen Law

Committer: GitHub

## Message

```
gpui(web): Pass events to input handlers and handle IME composition (#50437)

Currently the web backend for gpui doesn't send any events to the
`InputHandler`'s like `EntityInputHandler` which are needed for the
input example and the editor crate, among others. This PR makes it pass
those events, in addition to also dealing with composition events so
that IME works. It adds an invisible input element to listen for
composition events, since canvases don't receive them.

Release Notes:

- N/A
```

## Parents

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

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