-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation problem when ClickShortcut is present in LegacyWrapper #115
Comments
Investigation results: Why going root -> Button or navigate -> Button does not brake the location? Because:
And why going back and forth is breaking location:
|
Indeed, this is a regression after applying a patch for fixing vaadin/flow#7540 .
The navigation works well if the server-side bootstrapping is turned on through the parameter |
@kshashov thanks, indeed, this also doesn't fix the problem. Looks like a completely different issue in Flow vaadin/flow#14323 . |
Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115
Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115
Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115
Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115
) Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115 Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
) Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115 Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
) Fixes the hashed segment removal logic: if no segment with hash is present in the location, while navigating between Flow and legacy views/components, the update of the browser history is not needed. Fixes vaadin/multiplatform-runtime#115 Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
Looking for guidance on when the next hotfix release will be that will include this, or the best way to incorporate this just this fix into our build, as we need to get our software released very soon and are looking for the path that gives us the least resistance here. |
@Tostino which version of Vaadin do you use? Is it V23.1.x ? Since the fix is on the Flow side, I can release the corresponding version of Flow with this patch tomorrow morning and you can override it in your project. Platform release comes later on according to a normal schedule, so once it's ready you would remove the override and just upgrade the platform version. Does it sound fine for you? |
We made the original report, so we are on 23.1.3 right now. That seems like it'll work just fine, we can just upgrade the flow version. Thanks for the help here. |
@Tostino please try a new Flow 23.1.6 with this patch:
Will be included into next 23.1.x platform release. |
This ticket/PR has been released with Vaadin 23.1.8. |
Description
Navigation seems to break when trying to navigate to a Flow View containing a LegacyWrapper of a Vaadin 7 component. The issue seems to be caused when adding a ClickShortcut to a Vaadin 7 Button that is inside a Legacy Wrapper in a Vaadin Flow View. If I remove that ClickShortcut, the navigation works okay. See attached image of the problem:
Minimal reproducible example
Complete example here: mpr_navigation_sources.zip
Versions
The text was updated successfully, but these errors were encountered: