# Fire focus handlers on draw to avoid timing with newly created item \(\#3640\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 62d655183b2384330acae485f525d9d9e0afbb49

Requested commit: 62d655183b2384330acae485f525d9d9e0afbb49

Commit: 62d655183b2384330acae485f525d9d9e0afbb49

Tree: 3820a4b622c2443a3da0f2bac252427f1e4b190d

Author: Julia

Committer: GitHub

## Message

```
Fire focus handlers on draw to avoid timing with newly created item (#3640)

See title

Any focus changes which fire from within a focus handler should be
handled in the next frame

Release Notes:

- N/A
```

## Parents

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

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

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