Nick
Nick

Reputation: 14293

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

Upvotes: 0

Views: 610

Answers (1)

Fábio Salata
Fábio Salata

Reputation: 372

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

Upvotes: 1

Related Questions