ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

'scrollTop' undefined when I scroll in list items

Open benmliang opened this issue 12 years ago • 10 comments

<content
  has-header="true"
  has-tabs="true"
  scroll="true"
  overflowScroll="false"
  on-refresh="onRefresh()"
  on-refresh-opening="onRefreshOpening(amount)"
  refresh-complete="refreshComplete"
  >

  <!-- for pull to refresh -->
  <refresher></refresher>

  <!-- content -->
  <div ui-view></div>

</content>

in all browsers, have the same problem. I use 0.9.14

screen shot 2013-12-08 at 3 52 43 pm

benmliang avatar Dec 08 '13 20:12 benmliang

Are you using jQuery on your page? I think this is a duplicate of #293

mlynch avatar Dec 08 '13 20:12 mlynch

Just fixed, try the version and master and let me know how it works for you. Thanks!

mlynch avatar Dec 08 '13 21:12 mlynch

Thank you :D

benmliang avatar Dec 08 '13 21:12 benmliang

I am using JQuery on my page. I still can not scroll down the page, it will roll up to top every time when I scroll down. Now I don't have any error shows up in the console ..

benmliang avatar Dec 08 '13 21:12 benmliang

Okay, this might be a separate issue. Are you loading the data asynchronously?

mlynch avatar Dec 08 '13 21:12 mlynch

Yeah, Load the page first, and sent api get request get data, then show it in list items...

benmliang avatar Dec 08 '13 21:12 benmliang

Confirm fix.

adhsu avatar Dec 08 '13 21:12 adhsu

Okay great. @benmliang I just filed a separate issue: #296

mlynch avatar Dec 08 '13 21:12 mlynch

Thanks so much :D

benmliang avatar Dec 08 '13 21:12 benmliang

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 02:09 ionitron-bot[bot]