Giter VIP home page Giter VIP logo

Comments (7)

nikoloza avatar nikoloza commented on July 20, 2024 1

@Stanko Thanks for your effort. I'm aware of this, the bug was that I was invoking your function inside my touchstart event listener, which came into conflict with this one: https://github.com/Stanko/animated-scroll-to/blob/master/animated-scroll-to.js#L86.

Solution was to use touchend from my side.

from animated-scroll-to.

Stanko avatar Stanko commented on July 20, 2024

Just tested it on ios 10 iphone 6s, ipad mini and ios9 iphone 6s plus and demo works in every single one.

from animated-scroll-to.

nikoloza avatar nikoloza commented on July 20, 2024

Yes, I also did and your example works perfectly. Sorry about this, I'm about to debug one now.

from animated-scroll-to.

Stanko avatar Stanko commented on July 20, 2024

No problem, just please provide more info when you are submitting issue to a open source project. Device you tried, what is happening, stack trace or console errors if any...

Hope you get it, cheers!

from animated-scroll-to.

nikoloza avatar nikoloza commented on July 20, 2024

Hey @Stanko,

Thanks for your very quick response. After digging, found 2 issues.

  1. Running command from console works, but not on onClick handler.
  2. It works if you avoid assigning requestID from this line, and just invoke function https://github.com/Stanko/animated-scroll-to/blob/master/animated-scroll-to.js#L135

This may seems strange, maybe you know what can be causing this?

  • Testing on iOS 10.3 (Simulator)
  • It just ignores this line: requestID = requestAnimationFrame(step)

from animated-scroll-to.

Stanko avatar Stanko commented on July 20, 2024

Is there any errors in the console, can you try connecting it to Safari's web inspector?
https://developer.apple.com/library/content/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html

from animated-scroll-to.

nikoloza avatar nikoloza commented on July 20, 2024

Or stopPropagation

from animated-scroll-to.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.