# recent projects: fix list flashing/empty \(\#8376\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 934af6ad451684fa2659fc0f9fb943e02c5b3572

Requested commit: 934af6ad451684fa2659fc0f9fb943e02c5b3572

Commit: 934af6ad451684fa2659fc0f9fb943e02c5b3572

Tree: d077fc403301cc61e5428c6e946bbbf2c85066af

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
recent projects: fix list flashing/empty (#8376)

If the list is large (size > overdraw + available height) the
`all_rendered` check was preventing the list from returning an inferred
size. Theoretically we can now report heights which are actually too
small (because not all items were affected during layout), this can be
manually adjusted using the overdraw parameter. In this case its fine
because the picker is inside a max_height which should never be more
then the overdraw we specify (1000 px), and the list will shrink down
either way when the request_measured_layout callback is called again.

Release Notes:

- Fixed flashing of recent projects list when there were a lot of
projects in the list
([#8364](https://github.com/zed-industries/zed/issues/8364#issuecomment-1962849393)).
```

## Parents

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

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