Skip to content
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

Add top/bottom offset hacks for screens with fixed header/footer #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mallison
Copy link

See https://marvelapp.atlassian.net/browse/UT-928

Three yeasr ago, I forked perfect-scrollbar so it works when screens have fixed header and/or a fixed footer.

Turns out I got this working in a monstrously dumb way 😩.

I've updated our fork to the latest version and applied the hacks in way that actually works.

Look at the changes in src. There are more changes in dist because the build hadn't been run on the latest code.

@mallison mallison requested a review from moretti August 23, 2019 10:29
@moretti
Copy link
Member

moretti commented Aug 23, 2019

Looks good, do you think we submit these changes to the upstream?
Can you reapply cc20689 and update the README?

@mallison
Copy link
Author

@moretti I'm not sure it's worth submitting upstream as it's a very specific hack for fixed header/footer. Not sure why I bothered to update the docs the last time.

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