Skip to content

Fix tab switching without URL change for email check redirect#22

Merged
Waleed-Mujahid merged 1 commit intodevelop-teak.3from
waleed/8168
Dec 31, 2025
Merged

Fix tab switching without URL change for email check redirect#22
Waleed-Mujahid merged 1 commit intodevelop-teak.3from
waleed/8168

Conversation

@Waleed-Mujahid
Copy link
Member

Description

Prevent URL navigation when handleEmailCheckComplete redirects to different page. Instead, use controlled Tabs with activeKey and redirectTo state to switch tabs. This fixes back button behavior where users would see incorrect page content.

@Waleed-Mujahid Waleed-Mujahid self-assigned this Dec 30, 2025
Prevent URL navigation when handleEmailCheckComplete redirects to
different page. Instead, use controlled Tabs with activeKey and
redirectTo state to switch tabs. This fixes back button behavior
where users would see incorrect page content.

- Shadow selectedPage with computed value using redirectTo
- Use activeKey instead of defaultActiveKey for controlled Tabs
- Clear redirectTo on route change or manual tab selection
@Waleed-Mujahid Waleed-Mujahid merged commit 3314873 into develop-teak.3 Dec 31, 2025
2 of 3 checks passed
@Waleed-Mujahid Waleed-Mujahid deleted the waleed/8168 branch December 31, 2025 06:04
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.

2 participants