Skip to content

Instantly share code, notes, and snippets.

@dbismut
Last active April 9, 2018 08:05
Show Gist options
  • Save dbismut/bfb5124fc88560527339a17a3cd66d48 to your computer and use it in GitHub Desktop.
Save dbismut/bfb5124fc88560527339a17a3cd66d48 to your computer and use it in GitHub Desktop.
Part 2 - creating the scroll-block class to prevent the post from scroll glitch during exiting transition
.scroll-block {
position: fixed !important;
overflow: hidden !important;
max-height: 100vh !important;
pointer-events: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment