hilla icon indicating copy to clipboard operation
hilla copied to clipboard

CCDM: HistoryStateChangeHandler is not called when history state changes with client-side routing

Open haijian-vaadin opened this issue 5 years ago • 2 comments

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.

haijian-vaadin avatar Apr 30 '20 11:04 haijian-vaadin

Add this as a known limitation in the migration guide.

haijian-vaadin avatar May 05 '20 12:05 haijian-vaadin

HistoryIT is disabled because of this issue: https://github.com/vaadin/flow/pull/10471

denis-anisimov avatar Mar 29 '21 12:03 denis-anisimov