A way to avoid scroll inception, that awkward moment when you scroll in an embeded scrollable block…
Demo is avalaible here.
- Get jQuery, or use a CDN, like jsDelivr;
- Get the jQuery plugin;
- Add these to your page;
- Any element using
data-scrollinception="true"
will use the plugin.
(Ex.<iframe src="//lorem.com" … data-scrollinception="true"></iframe>
) - Scroll