Skip to content

Commit

Permalink
Update README.md (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa authored Jan 18, 2025
1 parent 539fd30 commit df10c04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ It may be dispatched by ResizeObserver in this lib [as described in spec](https:

Especially for `webpack-dev-server`, [you can filter out the specific error with `devServer.client.overlay.runtimeErrors` option](https://webpack.js.org/configuration/dev-server/#overlay).

#### Why my items are squashed on resize/add/remove?

Maybe you forgot to pass `key` prop to each items, or the keys are not unique. Item sizes are stored per key.

#### Why `VListHandle.viewportSize` is 0 on mount?

`viewportSize` will be calculated by ResizeObserver so it's 0 until the first measurement.
Expand Down

0 comments on commit df10c04

Please sign in to comment.