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

Viewport scrolling results in rendering artifacts #454

Open
benwaffle opened this issue Jan 6, 2024 · 0 comments
Open

Viewport scrolling results in rendering artifacts #454

benwaffle opened this issue Jan 6, 2024 · 0 comments

Comments

@benwaffle
Copy link

benwaffle commented Jan 6, 2024

Describe the bug
When I put a viewport next to a listview, and press j once, I get scrolling artifacts visible in the viewport.

Setup
Please complete the following information along with version numbers, if applicable.

  • OS: macOS
  • Shell: zsh
  • Terminal Emulator: iTerm 2
  • Terminal Multiplexer: None
  • Locale: en_US.UTF-8

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/benwaffle/bubbletea-viewport-bug
  2. Run go run .
  3. Press j

Source Code
https://github.com/benwaffle/bubbletea-viewport-bug

Expected behavior
No rendering artifacts.

Screenshots
output

Additional Details
Changing the panelStyle margin to 0 seems to get rid of the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant