Skip to content
This repository

lock body scroll when showing overlay #58

Open
pgherveou opened this Issue · 0 comments

1 participant

PG Herveou
PG Herveou

I hard coded something like that in my local branch, to lock the scrolling when showing the ovelay
Do you think this is an option we should expose to the api ?

  Overlay.prototype.show = function(){
    $('body').css('overflow', 'hidden');
   ...
  };
  Overlay.prototype.hide = function(){
    $('body').css('overflow', '');
   ...
  };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.