You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[24.4] Navigating from a Flow view to a React view using UI.navigate is not working #18867
When I try to navigate from a Flow view to a route associated with a React view using UI.getCurrent().navigate, it is not working. The target url is correctly set to the browser, but it seems that the React router is not reacting to the changed url:
Screen.Recording.2024-03-01.at.15.49.14.mov
Expected behavior
To be able to navigate from Flow views to React views and vice versa.
Minimal reproducible example
I used hilla-file-router-example as a base to add a React view with required param "id" (so it is not visible in the automatically populated menu) but it is registered with the route /person/:id (it can be verified by inspecting the value of Vaadin.server.views in the browser console).
My playground is shared in the taefi/navigate-from-flow-issue branch of the same repository.
There is also some other weird issue happening after navigating from FlowView to AnotherFlowView. After the navigation successfully renders the target view, clicking on the FlowView in the menu will change the url to /flow correctly, but nothing happens. This may or may not be related to the original issue.
Activity
taefi commentedon Mar 1, 2024
There is also some other weird issue happening after navigating from FlowView to AnotherFlowView. After the navigation successfully renders the target view, clicking on the FlowView in the menu will change the url to
/flowcorrectly, but nothing happens. This may or may not be related to the original issue.fix: navigation to client route
fix: navigation to client route (#18876)