Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The sidebar does not render all the contents if the content includes a very long line #412

Open
kyu08 opened this issue Aug 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kyu08
Copy link
Contributor

kyu08 commented Aug 9, 2024

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:

  1. Select a PR including a very long line (e.g. fix(deps): update rust crate uuid to v1.10.0 - autoclosed kyu08/fzf-make#295 )
  2. 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.)

image

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. charmbracelet/bubbles#578
So if the PR is merged, bumping the version resolves this issue.

@kyu08 kyu08 added the bug Something isn't working label Aug 9, 2024
@kyu08 kyu08 changed the title [BUG] The sidebar does not render properly if the content includes a very long line [BUG] The sidebar does not render all the contents if the content includes a very long line Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant