fix: CopiedToast not visible due to CSS transform context

Use createPortal to render toast at document.body level,
escaping framer-motion's transform on the tab content wrapper.
Remove unused useRef import and shareToastTapCopy i18n key.
This commit is contained in:
Fringg
2026-03-10 07:39:04 +03:00
parent 0322974ebd
commit 39bdf8b5c3
3 changed files with 22 additions and 37 deletions

View File

@@ -4249,7 +4249,6 @@
"shareModalActivateVia": "Activate via bot:",
"shareModalActivateViaCabinet": "Or via website:",
"copyMessage": "Copy message",
"shareToastCopied": "Message copied",
"shareToastTapCopy": "tap to copy again"
"shareToastCopied": "Message copied"
}
}