Skip to content

fix: render textarea placeholder base style once#977

Open
leno23 wants to merge 1 commit into
charmbracelet:mainfrom
leno23:fix/textarea-placeholder-single-base-render
Open

fix: render textarea placeholder base style once#977
leno23 wants to merge 1 commit into
charmbracelet:mainfrom
leno23:fix/textarea-placeholder-single-base-render

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

  • make the textarea placeholder path return the raw viewport output so Base is applied only by View()
  • keep placeholder rendering consistent with the normal text rendering path
  • add a regression test that catches doubled borders when Base has a border

Test plan

  • go test ./textarea
  • go test ./...
  • git diff --check

Fixes charmbracelet/bubbletea#1643

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

Successfully merging this pull request may close these issues.

bug: Double border when Base style has a border and textarea shows placeholder

1 participant