defunkt / jquery-pjax

pushState + ajax = pjax
https://pjax.herokuapp.com
MIT License
16.74k stars 1.97k forks source link

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

Open iovzt opened 1 year ago

iovzt commented 1 year 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.