Vandzelyak / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
0 stars 0 forks source link

Problem with <a href="#.."> - Links #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
- take your demo page and change
<li><a href="#20">Pretty content row 1</a></li>
<li><a id="20">Pretty content row 20</li>
(see attachment)
- click on the link
- scroll to top/bottom
- this scrolling area isn't correct after that
- same problem if you jump from an external page to a special <a id=".."> 
within the page.  

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
3.4.5

Please provide any additional information below.
Thanks for this great script.

Original issue reported on code.google.com by rmerma...@googlemail.com on 24 Jul 2010 at 3:43

Attachments:

GoogleCodeExporter commented 8 years ago
This is more of an enhancement than a bug.

Original comment by mat...@gmail.com on 26 Jul 2010 at 3:19

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for your comment. You are right, it will be an enhancement.

To our background:

We have made a WebApp to have access to our addresses from outside. For that we 
made an optical copy of the iPhone Addressbook. It would be nice to open the 
list and jump to an address in the middle of the list.

Regards

Ralph

Original comment by rmerma...@googlemail.com on 27 Jul 2010 at 6:47

GoogleCodeExporter commented 8 years ago
I added a new method called scrollToElement(), it will be available with the 
very next commit.

Original comment by mat...@gmail.com on 27 Jul 2010 at 6:53

GoogleCodeExporter commented 8 years ago
Thanks, that would be great.

Original comment by rmerma...@googlemail.com on 27 Jul 2010 at 6:56

GoogleCodeExporter commented 8 years ago
In the last commit I added scrollToElement() method. iScroll still doesn't 
check for location hash changes. It will probably come in future releases.

Original comment by mat...@gmail.com on 27 Jul 2010 at 9:16