Skip to content

Fix create invoice sheet not visible#151

Merged
kingonly merged 1 commit intomainfrom
fix/amount-panel-visibility
Mar 23, 2026
Merged

Fix create invoice sheet not visible#151
kingonly merged 1 commit intomainfrom
fix/amount-panel-visibility

Conversation

@kingonly
Copy link
Copy Markdown
Member

Summary

  • AmountPanel's BottomSheetContainer was nested inside the parent Receive dialog's BottomSheetContainer. CSS transforms on the parent's Transition.Child created a new containing block, so the inner sheet's absolute top-0 positioned relative to the parent card (near the bottom of the viewport) instead of the viewport itself — rendering it off-screen.
  • Fix: Move AmountPanel outside the parent BottomSheetContainer as a sibling, so it renders at the top level with correct viewport-relative positioning.
  • Also gate AmountPanel's isOpen on the parent dialog's isOpen to ensure it closes when the Receive dialog is dismissed.

Test plan

  • Open Receive → Lightning tab → click "Create invoice with specific amount" → verify the Create Invoice sheet appears
  • Enter an amount and generate an invoice → verify QR code displays
  • Close the Create Invoice sheet → verify Receive dialog is still functional
  • Close the Receive dialog while Create Invoice sheet is open → verify both close
  • Verify the Confirm Username Change dialog still works when changing Lightning Address

🤖 Generated with Claude Code

…th specific amount"

AmountPanel's BottomSheetContainer was nested inside the parent BottomSheetContainer.
CSS transforms on the parent's Transition.Child created a new containing block, causing
the inner sheet's absolute positioning to be relative to the parent card instead of the
viewport — rendering it off-screen.

Move AmountPanel outside the parent BottomSheetContainer so it renders at the top level
with correct viewport-relative positioning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
breez-glow-web Ready Ready Preview, Comment Mar 23, 2026 5:57pm
breez-sdk-spark-example Ready Ready Preview, Comment Mar 23, 2026 5:57pm
savage-glow-web Ready Ready Preview, Comment Mar 23, 2026 5:57pm

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.

1 participant