slideout icon indicating copy to clipboard operation
slideout copied to clipboard

Confine scroll area

Open wildarch opened this issue 9 years ago • 1 comments

Ignore touches on the right portion of the screen to prevent unwanted opening of the panel (only touches that start on the left 33% of the screen move the panel). In my opinion this should be the default behaviour, but it can be overridden:

var slideout = new Slideout({
  'panel': document.getElementById('main'),
  'menu': document.getElementById('menu'),
  'fromedge': false
});

wildarch avatar Mar 16 '15 19:03 wildarch

Prefer PR #10 which is more configurable and achieves the same thing.

garygreen avatar Apr 21 '15 08:04 garygreen