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

Disable scroll on modals #6

Closed
wants to merge 5 commits into from
Closed

Disable scroll on modals #6

wants to merge 5 commits into from

Conversation

Anenth
Copy link
Contributor

@Anenth Anenth commented Apr 17, 2015

This fixes #5

@davedele
Copy link

@Anenth You should also include "overflow: auto" on the ".modal" class. So content within the modal can be scrolled.

@Anenth
Copy link
Contributor Author

Anenth commented Apr 20, 2015

@davedele done

@@ -47,6 +47,10 @@
.disable-mouse {
pointer-events: none;
}
body.disable-scroll {
Copy link
Owner

Choose a reason for hiding this comment

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

the indentation isn't right here. Use tabs.

Anenth added 3 commits May 2, 2015 22:24
cta.js - Animate your 'action-to-effect' paths
cta.js - Animate your 'action-to-effect' paths
cta.js - Animate your 'action-to-effect' paths
@Anenth
Copy link
Contributor Author

Anenth commented May 2, 2015

@chinchang done

@chinchang
Copy link
Owner

Merged manually. Thanks for the work @Anenth :)

@chinchang chinchang closed this May 30, 2015
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.

When modal is open, prevent scroll on page
3 participants