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
Describe the bug
Between bubbles v1.17.1 and v1.18.0 table centering has changed. In the latter version, table contents does not line up with titles under certain conditions.
Setup
Please complete the following information along with version numbers, if applicable.
OS - macOS
Shell - zsh
Terminal Emulator - iTerm
Terminal Multiplexer - n/a
Locale - en_US.UTF-8
To Reproduce
Steps to reproduce the behavior:
Create a table model from bubbles
Include Align(lipgloss.Center) in the table's style.
Include some other line of text that exceeds the the table's width.
Run
Source Code
The issue can be easily reproduced using the table examples within bubbletea by adding the following diff:
Describe the bug
Between bubbles v1.17.1 and v1.18.0 table centering has changed. In the latter version, table contents does not line up with titles under certain conditions.
Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
Steps to reproduce the behavior:
Align(lipgloss.Center)
in the table's style.Source Code
The issue can be easily reproduced using the
table
examples withinbubbletea
by adding the following diff:Expected behavior
I expect the contents of the table to be aligned with the titles of the table.
Screenshots
Before:
After:
The text was updated successfully, but these errors were encountered: