From f806e4d3bd0432b4cc3b4af5825b5c3bb566a4fd Mon Sep 17 00:00:00 2001 From: Mannu Date: Sat, 23 May 2026 22:29:38 +0530 Subject: [PATCH] fix(settings/profile): fix share dropdown invisible + expand click broken Root cause: parent div had overflow-hidden which clipped absolute-positioned dropdowns, making them render but be invisible (looked like click did nothing). - Removed overflow-hidden from profile card container - Share dropdowns now use fixed positioning to escape any parent overflow - Merged chevron into the expand button so the whole left area is one tap target - Per-product share sheet also changed to fixed bottom-28 right-4 Co-Authored-By: Claude Sonnet 4.6 --- src/app/settings/profile/page.tsx | 94 +++++++++++++++---------------- 1 file changed, 46 insertions(+), 48 deletions(-) diff --git a/src/app/settings/profile/page.tsx b/src/app/settings/profile/page.tsx index dc314b6..d2b181d 100644 --- a/src/app/settings/profile/page.tsx +++ b/src/app/settings/profile/page.tsx @@ -188,65 +188,63 @@ export default function ProfileSettingsPage() {
{/* Profile section — collapsible */} -
- {/* Always-visible header row */} -
+
+ {/* Always-visible header row — single tappable button + share action */} +
+ {/* Main expand/collapse — takes all remaining space */} -
- {/* Profile page share — only when slug is set */} - {slug && slugValid && ( -
- - {profileShareOpen && ( - <> -
setProfileShareOpen(false)} /> -
-

Share your profile page

- + {profileShareOpen && ( + <> +
setProfileShareOpen(false)} /> +
+

Share your profile page

+ + + {typeof navigator !== "undefined" && "share" in navigator && ( + - - {typeof navigator !== "undefined" && "share" in navigator && ( - - )} -
- - )} -
- )} - -
+ )} +
+ + )} +
+ )}
{/* Expanded form */} @@ -393,7 +391,7 @@ export default function ProfileSettingsPage() { {shareProductId === p.id && ( <>
setShareProductId(null)} /> -
+

{p.title}