Skip to content

Conversation

@MagentaManifold
Copy link
Contributor

@MagentaManifold MagentaManifold commented Dec 5, 2025

Because

  • The modal jumps on scroll

This pull request

  • prevents the background from scrolling with overscroll-contain and makes scrolling work nicer
  • adds a story for modal to test out scrolling

Issue that this pull request solves

Closes: FXA-12473

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

(I had to make it longer to make it scrollable; this screenshot alone doesn't tell much, since you need to scroll to see the problem)

image

Other information (Optional)

You might need this to actually out the changes (responsive mode in desktop firefox doesn't have that taskbar, and the taskbar doesn't hide on scroll in storybook): https://mozilla.github.io/ecosystem-platform/reference/mobile-specifics#android-debugging

Because:

* The modal jumps on scroll

This commit:

* prevents the background from scrolling with overscroll-contain and makes scrolling work nicer
* adds a story for modal to test out scrolling

Closes FXA-12473
@MagentaManifold MagentaManifold marked this pull request as ready for review December 5, 2025 21:55
@MagentaManifold MagentaManifold requested a review from a team as a code owner December 5, 2025 21:55
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