brim icon indicating copy to clipboard operation
brim copied to clipboard

Problem overflow-y scroll and brim

Open MrAdrianS opened this issue 11 years ago • 2 comments

Is it possible to somehow allow scrolling content inside div when use brim.js? I try add <div style="width:100%;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch;">content</div> in brim-main, but scroll don't work..

MrAdrianS avatar Mar 03 '15 22:03 MrAdrianS

@MrAdrianS Hello, we are experiencing the same problem. Did you find any solution to this?

efimovdk avatar Sep 23 '15 21:09 efimovdk

I think you can comment the line code e.preventDefault(); on touchmove event. OR you should change the if statement on touchmove event to: if (viewport.isMinimalView() && firstMove && e.target.tagName.toLowerCase() == "body") { e.preventDefault(); }

hoanghuu avatar May 19 '16 09:05 hoanghuu