# component_preview: Pin the filter input at the top \(\#43636\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f10afd105921ce0449833eac28e7d351188277a1

Requested commit: f10afd105921ce0449833eac28e7d351188277a1

Commit: f10afd105921ce0449833eac28e7d351188277a1

Tree: 1c84814eeb09dde21966e9ad4f62db09ba0e9bf7

Author: Floyd Wang

Committer: GitHub

## Message

```
component_preview: Pin the filter input at the top (#43636)

When I scroll the page after selecting a component, the filter input
disappears. It would be more helpful if it stayed fixed at the top.

## Before


https://github.com/user-attachments/assets/e26031f1-d6e7-4ae2-a148-88f4c548a5cf

## After


https://github.com/user-attachments/assets/f120355c-74d3-4724-9ffc-71fb7e3a4586

Release Notes:

- N/A
```

## Parents

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

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