[BUG] The sidebar does not render all the contents if the content includes a very long line
Describe the bug
The sidebar does not render properly if the content includes a very long line. This makes approve textarea not be able to seen.
To Reproduce
Steps to reproduce the behavior:
- Select a PR including a very long line (e.g. https://github.com/kyu08/fzf-make/pull/295 )
- Scroll to the bottom by
ctrl + d
Expected behavior
All the contents is rendered.
Screenshots
The sidebar can't all the contents. (The last line of the comment is This is the last line. But it is not rendered.)
Environments (please complete the following information):
- OS: macOS
- Commit hash:
c524f60c308d
How to resolve
I submitted a PR to charmbracelet/bubbles to fix this problem by fixing height calculation method. https://github.com/charmbracelet/bubbles/pull/578 So if the PR is merged, bumping the version resolves this issue.
Looking forward for this to be resolved! 🔥
@kyu08 Can you check my PR #466 whether it fixes issue for you?
@Garfeild I'm sorry for the late reply. Good job! It seems fixed for me!