charmbracelet / charmbracelet/bubbletea
FilterInput gets printed twice from time to time
- Dominant language
- Go
- Stars
- 44.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
I'm using list from bubbles in https://github.com/demostanis/metatorrent.
Its height is set manually with SetSize() to be equal to the height of the terminal minus the height of the other elements surrounding the list.
Everything works fine, but when pressing `/` to filter the elements in the list, the FitlerInput might appear twice, usually after using it a bit (writing something, then pressing backspaces multiple times, or ^U). The elements above the list get affected by this, and get moved up enough that a part of them is hidden.
I have no idea what this is caused by.

When pressing escape to remove the filter, it is impossible to remove the duplicated one.
Contributor guide
Assessment
This issue has not been assessed yet.