Telerik-Verified-Plugins / NativePageTransitions

Native transitions like Slide and Flip for iOS, Android and Windows Phone
277 stars 108 forks source link

Race conditions when quickly starting and completing pending transitions. #171

Open schumannd opened 6 years ago

schumannd commented 6 years ago

This might be what #169 is referring to. The code that leads to locking up of the app:

function onMyCLick() {
      window.plugins.nativepagetransitions.fade({
          'iosdelay': -1,
          'androiddelay': -1,
          'duration': 0,
      });

     // Some work and API calls

     setTimeout(function(){window.plugins.nativepagetransitions.executePendingTransition()}, 400);

}

now when the function is called repeatedly, the screen freezes at some point but still can recieve touches. It simply does not respond anymore

benforsrup commented 3 years ago

Any solutions?