dom7 icon indicating copy to clipboard operation
dom7 copied to clipboard

AnimateLeft and AnimateTop are both false

Open decadX opened this issue 6 years ago • 1 comments

https://github.com/nolimits4web/dom7/blob/28b0db30d77fa765ccae9497a2f0e3dfbc2cf55f/src/scroll.js#L76

Hello,

We have seen an issue where us the animateTop and animateLeft are both false and the done is never set to true, this causes the render loop to run forever and stops the app/freezes

Could you add this at the end to prevent this

  if (!animateLeft && !animateTop) {
    done = true;
  }

decadX avatar Aug 20 '19 11:08 decadX

Have same problem caused by card.close() on framework7-vue

maxime-guyot avatar Dec 21 '19 17:12 maxime-guyot