hilla
hilla copied to clipboard
CCDM: HistoryStateChangeHandler is not called when history state changes with client-side routing
With Router 1.7.2
HistoryIT is currently ignored due to this issue.
When state changes, vaadin-router calls the callbacks as registered in Flow.ts
this.container.onBeforeEnter = (ctx, cmd) => this.flowNavigate(ctx, cmd);
this.container.onBeforeLeave = (ctx, cmd) => this.flowLeave(ctx, cmd);
But HistoryStateChangeHandler is never called.
Add this as a known limitation in the migration guide.
HistoryIT is disabled because of this issue: https://github.com/vaadin/flow/pull/10471