You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lipgloss.Table rendering provides improper rendering in a few ways:
Headers are inconsistently rendered outside of the size of the window
Multiple rows are rendered with the same style during an update
The bottom of the table will scroll to the top of the window
Setup
Please complete the following information along with version numbers, if applicable.
macOS Sequoia
ZSH, default from macOS
Observed in both rio & iterm
No multiplexer
en_US.UTF-8, default for macOS.
To Reproduce
Steps to reproduce the behavior:
Render the table with more rows than the height of the window.
Unfortunately, I can't share the code that's rendering the table, only the table component itself. You can render the table as the only thing rendered and still observe this behavior
Source Code
Here is the table component I built. It's pulled from github.com/charmbracelet/bubbles.Table, but modified to use lipgloss.Table instead.
Hey, I think this should be fixed by #373
We have an open PR in bubbles as well to make it render using Lip Gloss table as well if that's of interest! charmbracelet/bubbles#617
If you have any feedback on that one, please don't hesitate to let us know
Describe the bug
The
lipgloss.Table
rendering provides improper rendering in a few ways:Setup
Please complete the following information along with version numbers, if applicable.
rio
&iterm
en_US.UTF-8
, default for macOS.To Reproduce
Steps to reproduce the behavior:
Unfortunately, I can't share the code that's rendering the table, only the table component itself. You can render the table as the only thing rendered and still observe this behavior
Source Code
Here is the table component I built. It's pulled from
github.com/charmbracelet/bubbles.Table
, but modified to uselipgloss.Table
instead.Expected behavior
StyleFunc
should consistently highlight rowsScreenshots
Screen.Recording.2024-09-25.at.1.45.04.PM.mov
Additional context
I've tested several different iterations and still end up with the same generalized results.
The text was updated successfully, but these errors were encountered: