URL is not updated when navigating to root

I am using Vaadin 17 and when I navigate to root, the URL is not updated in the browser.
Navigating to any other view updates the URL.

Could this be a bug? Right now I am forced to do a page reload when navigating to the root due to this.

Another slightly different problem is - if I navigate to another view from BeforeEnter or constructor, then the view is not loaded.