1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Why pressing link on WhatsApp causes blank page, as if it reloaded an old page?

Discussão em 'Angular' iniciado por Wabinab, Setembro 24, 2024.

  1. Wabinab

    Wabinab Guest

    App uses Angular v14, and C# .Net v8.

    Let's clarify the question. One had a page with the routing element like this.

    RouterModule.forRoot([
    { path: 'abc', loadChildren: () => import('./components/abc/abc.module').then(m => m.ABCModule)},
    { path: '', redirectTo: 'abc', pathMatch: 'full'},
    ], {onSameUrlNavigation: 'reload'}),


    The page itself doesn't have problem. Copy the link myhost.com/abc on browser, it had no problem. The only problem lies when you share it on WhatsApp and click on it, which by default it'll open your default browser. What does it displays? It seems to not load the router! The navbar link looked different, clicking on them does not trigger anything. What happened?

    Continue reading...

Compartilhe esta Página