Skip to content

fix(split-layout): Pass setCurrentSplitLayout to ResetPassword to prevent navigation split layout blips#20361

Merged
LZoog merged 1 commit intomainfrom
FXA-13245
Apr 14, 2026
Merged

fix(split-layout): Pass setCurrentSplitLayout to ResetPassword to prevent navigation split layout blips#20361
LZoog merged 1 commit intomainfrom
FXA-13245

Conversation

@LZoog
Copy link
Copy Markdown
Contributor

@LZoog LZoog commented Apr 10, 2026

Because:

  • Navigating from a page with split layout to a page without, like from signin to reset password, keeps the transition screens with loading spinner set to 'split layout', causing visual blips of split layout while going through the reset PW flow

This commit:

  • Passes setCurrentSplitLayout on the reset PW page to reset split layout back to a non-split layout

closes FXA-13245


To test this, run Strapi locally and set "split layout" to true for at least the signin page. Then go through the reset PW flow and compare it to the video in the ticket - there's no longer "blips" of split layout through the flow.

…vent navigation split layout blips

Because:
* Navigating from a page with split layout to a page without, like from signin to reset password, keeps the transition screens with loading spinner set to 'split layout', causing visual blips of split layout while going through the reset PW flow

This commit:
* Passes setCurrentSplitLayout on the reset PW page to reset split layout back to a non-split layout

closes FXA-13245
@LZoog LZoog requested a review from a team as a code owner April 10, 2026 22:13
@vpomerleau vpomerleau self-requested a review April 13, 2026 20:54
Copy link
Copy Markdown
Contributor

@vpomerleau vpomerleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and this looks good to me! No blip.

We may also want to pass this prop to other pages like InlineTotpSetup, InlineRecoveryKeySetup, SetPassword?

@LZoog LZoog merged commit 11a364e into main Apr 14, 2026
21 checks passed
@LZoog LZoog deleted the FXA-13245 branch April 14, 2026 17:39
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