简体   繁体   中英

Angular & ionic - scrolling issue

I am developing an app with angular and ionic , and I am facing a strange issue with scrolling.

What I currently have, is a directive to display some temperatures on a page. Everything works, but if I try to scroll using the mouse wheel (when the mouse cursor hover some text) the page won't scroll. If, however, I have the mouse cursor somewhere else, the page scrolls.

To better explain and show this issue, I've created a codepen which you can find here: http://codepen.io/NickHG/pen/beBGdx

I have no idea why this happens.

Any suggestion? Thanks

I've found a workaround. Set overflow-scroll="true" in the ion-content.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM