PreserveOnRefresh dont work after navigation

Hi, i upgraded my application from v14.0.6 to 14.2.0 and then my navigation has stopped working properly. I use UI.getCurrent().navigate for routing. Before upgrading when i was routing to other page with PreserveOnRefresh annotation then reloading did not created current page from start(code in constructor wasn`t executing) it was executing only right after navigation, but after upgarade after routing reloading is creating page from begining(executing constructor). After One reloading annotation is working again and constructor isnt executing. Is there any solution for this problem?

Hi,

I don’t know if it’s related but there is one change from 14.1 to 14.2.x on the navigation livecycle. You can see here: https://github.com/vaadin/platform/releases/tag/14.2.0 (Fire routing life-cycle BeforeEnterEvent from parent → child order).