ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

bug: Scroll stops when cursor gets on deep nested tags. #153

Open jgw96 opened 7 years ago

jgw96 commented 7 years ago

From @bypotatoes on March 26, 2016 23:30

Type: bug

Ionic Version: 1.x

Platform: desktop browser

The first level of nesting when bug appears reproduced in jsfiddle

Steps to reproduce:

  1. Put cursor out of red area and scroll
  2. Move cursor to red area and try to scroll
  3. Stuck with scroll issue

Copied from original issue: driftyco/ionic#5954

jgw96 commented 7 years ago

Hello! Thanks for opening an issue with us! It does seem to happen only when its deeply nested. As you can see here i removed most of the divs and it scrolls fine now: https://jsfiddle.net/16fyzxf7/. Do you have another example that will cause the issue that is not just a bunch of divs?

jgw96 commented 7 years ago

From @bypotatoes on March 28, 2016 15:44

@jgw96 I don't. But the issue is exactly with nesting and my fiddle was created especially to show that. As you could notice red area is not scrollable, when white is, so fiddle shows borderline. Do you have any ideas why does it happen?

jgw96 commented 7 years ago

Not at this time, this will have to be looked into more. I have marked this as a bug. Thanks again!

jgw96 commented 7 years ago

From @bypotatoes on March 28, 2016 15:56

@jgw96 tnx, I'm also going to dig more, so let me not plz if you'll find someting

jgw96 commented 7 years ago

@bypotatoes will do!

jgw96 commented 7 years ago

Hello! Is this still an issue with the latest version of ionic? Thanks!

jgw96 commented 7 years ago

From @bypotatoes on May 7, 2016 19:23

Hi, it's still the issue with v1.3.0

quiply commented 5 years ago

Has anyone found a solution for this issue? It seems that this time we are not able to reduce the DOM tree level by removing divs or similar. Therefore we are caught with this issue and can't find a solution. My assumption is that ionic traverses the tree for a specified number of levels when scroll should happen. An this number of levels might actually be too low.

Anyone knowing about a solution for this?

SebastianSchirmer commented 5 years ago

Sorry, wanted to comment using my personal account.

Has anyone found a solution for this issue? It seems that this time we are not able to reduce the DOM tree level by removing divs or similar. Therefore we are caught with this issue and can't find a solution. My assumption is that ionic traverses the tree for a specified number of levels when scroll should happen. An this number of levels might actually be too low.

Anyone knowing about a solution for this?