Open olavflar opened 8 months ago
Re-classifying this as a feature request, as this is how it has been implemented. I think we should investigate if this is actually what the users expect/want before making this change. @Annikenkbrathen
Is this related to this thread? https://altinn.slack.com/archives/C02EJ9HKQA3/p1710866465123129?thread_ts=1710855906.174989&cid=C02EJ9HKQA3
Description of the bug
When navigating between pages in the preview mode on the "Lage" page, the context panel on the left, which provides an overview and editing options for the current page, does not automatically update. This issue prevents users from seamlessly editing the newly navigated-to page, as the context panel remains static and does not reflect the change in preview.
Steps To Reproduce
Go to dev.altinn.studio and search for samtykkeskjema - this app has navbar
After changing to the first page the context to the left stays the same as the last page visited to
Expected Behavior: The left context panel should update to reflect the currently previewed page, allowing immediate editing without needing to manually select the page again in the panel.
Actual Behavior: The left context panel remains unchanged, showing the previous page's context, despite navigating to a new page in the preview.
Possible Solution: Implement an event listener for page changes in the preview that triggers an update in the context panel to match the currently displayed page.
Additional Information
No response