bubbles
bubbles copied to clipboard
textinput TextStyle vs PlaceholderStyle inconsistency
When using a textinput, the TextStyle style is applied across the entire width of the line, as such:
However, when using a placeholder, the PlaceholderStyle only applies to the bit behind the placeholder text, as such:
the style for both is the same:
lipgloss.NewStyle().Background(lipgloss.Color("#AFAFAF")).Foreground(lipgloss.Color("#000000"))
Not entirely sure if this would be considered a bug, but it seems like an inconsistent bit of behavior. Figured it was worth mentioning.
Thank you: this is a good catch and we should be consistent here. The way the placeholder is rendering is the correct one and we should normalize the other case accordingly.