# Stabilize toast stacking offsets to prevent hover flicker · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/24122b17629451e4614d34f3b771769e87b99d79)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 24122b17629451e4614d34f3b771769e87b99d79

Requested commit: 24122b17629451e4614d34f3b771769e87b99d79

Commit: 24122b17629451e4614d34f3b771769e87b99d79

Tree: 020c606cb970fb5162cabd1918d660cdc1afde47

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Stabilize toast stacking offsets to prevent hover flicker

- derive toast indices and Y offsets from the filtered visible toasts
- pass frontmost height and per-toast layout vars to the viewport/item styles
- add unit tests for visible toast layout calculations and height normalization

```

## Parents

- [081a6dacdbb623da0b560360384d58cb95a484e5](https://git.cafe/screen/t3code-personal/commit/081a6dacdbb623da0b560360384d58cb95a484e5?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/24122b17629451e4614d34f3b771769e87b99d79?format=markdown)
