yiisoft / jquery-pjax

pushState + ajax = pjax
http://pjax.herokuapp.com
MIT License
144 stars 40 forks source link

Wrong events lifecycle in case when ajax request is not async #71

Closed iovzt closed 2 years ago

iovzt commented 2 years ago

When we use container reloading with synchronous ajax request

$.pjax.reload({container: '#pjax-container', async: false});

events fire in following order:

I think it's unexpected behaviour.

version: 2.0.7.1