I’m trying to prevent changing url when I click on some item in file manager. As it work now, whenever I click some folder/file in filemanager, my application url gets updated, adding id of that selected folder to application url.
if navigation is caused by app (app.show, view.show, app.getRouter().set) then it can be controlled in app:guard event.
otherwise you need to check your code, as filemanager does not change url itself.
I am using HashRouter and url changes every time I enter folder in file manager and url is updated with id of that folder I have just entered.
I managed to solve my problem by app:guard event, url still keeps changing when I am navigating through file manager, but I can redirect it on right page when user try to refresh page manually. Good enough.