Skip to content

Conversation

@alltheseas
Copy link
Collaborator

@alltheseas alltheseas commented Dec 18, 2025

Summary

  • Align chat action bar visibility check with EventActionBar's has_any_action logic to prevent empty styled containers ("dots") from appearing
  • Replace .padding(.vertical, -20) with .offset(y: 15) to push the action bar below the bubble instead of pulling it up into the content
Before After
notfixed fixedit
-- --

Test plan

  • Tested on Xcode iOS 26 iPhone 17 simulator
  • Used test account to reply, like, repost, and comment on a reply
  • Verified action bar no longer covers text on short messages
  • Verified empty dots no longer appear when only relays are present

Closes: #3445

🤖 Generated with Claude Code

alltheseas and others added 2 commits December 17, 2025 21:10
The outer check (bar.is_empty) and inner check (has_any_action) could
disagree, causing an empty styled container to appear. For example,
bar.is_empty includes relays in its check, but relays don't produce
a visible button - resulting in a styled "dot" with nothing inside.

Add should_show_action_bar that mirrors EventActionBar's has_any_action
logic, ensuring both checks agree on when to render the action bar.

Signed-off-by: alltheseas <[email protected]>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
The action bar used .padding(.vertical, -20) which pulled it UP into
the chat bubble, causing it to overlap message text on short replies.

Replace with .offset(y: 15) to push the bar BELOW the bubble edge,
ensuring the overlay never covers the message content.

Closes: damus-io#3445
Signed-off-by: alltheseas <[email protected]>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@alltheseas alltheseas added bug Something is not working, or not working as intended ui labels Dec 18, 2025
@danieldaquino danieldaquino added the pr-in-queue This PR is waiting in a queue behind their other PRs marked with the label `pr-active-review`. label Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is not working, or not working as intended pr-in-queue This PR is waiting in a queue behind their other PRs marked with the label `pr-active-review`. ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

overlay issue on short replies

2 participants