Skip to content

context.pageContext not updated when navigating between pages #544

@NickSevens

Description

@NickSevens

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

  • Question
  • Typo
  • Bug
  • Enhancement / Suggestion
  • Additional article idea

Expected or Desired Behavior

When navigating from one page to another (using an link), this.context.pageContext should reflect the newly loaded page.

Observed Behavior

When navigating from one page to another, this.context.pageContext remains unchanges. This causes API calls to fail or produce faulty results.
This seems to be caused by the page not entirely refreshing when navigating between (modern) pages. Only the "main" content is updated (~ MDS).

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions