Coder Social home page Coder Social logo

Comments (10)

sarcadass avatar sarcadass commented on May 29, 2024 1

@nejcgalof @pranaygp Weird behaviour indeed. I will investigate this when I'll have some time.
I keep you posted.

from granim.js.

sarcadass avatar sarcadass commented on May 29, 2024 1

@nejcgalof I fixed the bug, can you confirm with the latest version of the lib please ?

from granim.js.

fcobcn avatar fcobcn commented on May 29, 2024 1

I will try to strip down the project as soon as posible, it may be related to how blaze templates work in meteor. Codepen is not relevant in this case. For android I'm using the cordova/phonegap compile functionality of meteor.

from granim.js.

sarcadass avatar sarcadass commented on May 29, 2024

@nejcgalof can you create a codePen for this please?
It will be easier to understand the problem.

from granim.js.

nejcgalof avatar nejcgalof commented on May 29, 2024

Here I write fast example from my biggest example. Codepen Maybe something not important in this page.
If click second icon, then pause(5), then again second and again pause. Then click last for clearing. Then again press second and then pause. Here you see, first time pause not working, second time work. This is my problem, why not pause animation sometimes? And sorry for bad example, but here I found a problem.

from granim.js.

pranaygp avatar pranaygp commented on May 29, 2024

Just to add to what @nejcgalof said:

After clearing and hitting the second icon, then pausing, it doesn't actually pause. However, if you hit pause again, it does pause. This may have something to do with clearing ( played around with the codepen extensively)

@sarcadass any thoughts on what might be causing this?

from granim.js.

nejcgalof avatar nejcgalof commented on May 29, 2024

Yes, it works. Thank you.

from granim.js.

fcobcn avatar fcobcn commented on May 29, 2024

I'm using the latest version (1.0.6) on a meteor app.
granimInstance.pause() doesn't work consistently, on the browser, sometimes it does pause, but most of the time it doesn't.
When compiling the app for android it never works.
Thanks for your help.

from granim.js.

pranaygp avatar pranaygp commented on May 29, 2024

@fcobcn could you try recreating the issue and post code here or open a codepen. Would help us debug :) thanks

from granim.js.

pranaygp avatar pranaygp commented on May 29, 2024

Also, for Android. How are you using granim? In a React Native app?

from granim.js.

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.