-
Notifications
You must be signed in to change notification settings - Fork 331
Open
Description
Describe the bug
I tried applying Cell
foreground color differently than default (which was white) whilst also applying foreground in Selected
breaks the ui of the table.
Setup
Please complete the following information along with version numbers, if applicable.
- OS: macOs
- Shell: zsh
- Terminal Emulator: iTerm2
- Terminal Multiplexer: -
- Locale: en_US.UTF-8
To Reproduce
Steps to reproduce the behavior:
- Copy the table example code: https://github.com/charmbracelet/bubbletea/blob/main/examples/table/main.go
- Add
s.Cell = s.Cell.Foreground(lipgloss.Color("26"))
beneaths.Selected
(line 176) - Run the app and you will see something weird.
Source Code
Please include source code if needed to reproduce the behavior.
Expected behavior
The Selected
styles should be applied to the whole row. This case, the background was not applied to all the selected row cells. Furthermore, the Foreground from Selected
was also not applied where it should have been applied.
Additional context
Add any other context about the problem here.
OniHil
Metadata
Metadata
Assignees
Labels
No labels