Skip to content

fixed scroll #2930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 25, 2024
Merged

fixed scroll #2930

merged 2 commits into from
Mar 25, 2024

Conversation

rahulrangers
Copy link
Contributor

@rahulrangers rahulrangers commented Jan 19, 2024

Fixes #2905

Changes:

@lindapaiste I have verified that this pull request:

Untitled.video.-.Made.with.Clipchamp.1.mp4
  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

Copy link

welcome bot commented Jan 19, 2024

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.

Copy link
Contributor

@PiyushChandra17 PiyushChandra17 left a comment

Choose a reason for hiding this comment

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

👍

@raclim raclim added Bug Error or unexpected behaviors Area: Mobile For issues affecting mobile or responsive behavior Area:CSS For styling or layout issues handled with CSS/SASS labels Jan 22, 2024
@raclim raclim closed this Mar 25, 2024
@raclim raclim reopened this Mar 25, 2024
@raclim
Copy link
Collaborator

raclim commented Mar 25, 2024

Sorry about that, after taking a closer look I realized I didn't carefully look at which particular files were being changed! I think this PR is still good for review!

Copy link
Collaborator

@raclim raclim left a comment

Choose a reason for hiding this comment

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

Thanks again for your work on this and I apologize for closing this earlier! After testing this out I think this looks good to go!

@raclim raclim merged commit c4de266 into processing:develop Mar 25, 2024
@lindapaiste
Copy link
Collaborator

@raclim the min-height: 100vh which was removed in this PR was previously put in to prevent jumpiness on the desktop view when the fetch for the .md file finishes and the content comes in. Setting min-height: 100vh forces the scrollbar to be present at all times so that it won't disappear and reappear. You can find the issues. IMO we want to keep that when on desktop, but apply it conditionally using a media query. That's what I meant by my suggestion (emphasis added)

There's probably a few valid ways to fix this, with differences in what content is fixed to the top. One way would be in the PolicyContainer. We would add an overflow: auto and remove the min-height: 100vh; when in the mobile view.

@raclim
Copy link
Collaborator

raclim commented Mar 25, 2024

@lindapaiste Ohh I see, sorry I did notice the distinction for only the mobile view but didn't realize the reasoning behind it and assumed it seemed okay. I'll reopen the issue and can update this PR with the needed changes!

@beccyabraham
Copy link
Contributor

It looks like those pages still don't scroll all the way down on mobile; on the Privacy Policy page, I can't see the "Contact information" section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:CSS For styling or layout issues handled with CSS/SASS Area: Mobile For issues affecting mobile or responsive behavior Bug Error or unexpected behaviors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to scroll the Privacy policy, Terms of use, and Code of conduct pages in mobile view
5 participants