jsdotlua / jsdotlua/virtualized-list-lua
CanvasSize does not change as expected when removing items while using `overrideAutomaticCanvasSize`
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 32
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
When using overrideAutomaticCanvasSize, the CanvasSize is not updated when items are removed from the list. When the list is inverted or when overrideAutomaticCanvasSize is set to false, the CanvasSize is updated as expected.
Here's a repro:
https://gist.github.com/SolarHorizon/7db5ee3b4bf80c828070eb2be0582f81
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked reproduction and trace the CanvasSize behavior when items are removed while overrideAutomaticCanvasSize is enabled. Compare it with the inverted-list and overrideAutomaticCanvasSize=false cases. Done means CanvasSize updates correctly after removals in the reported configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100