Skip to content

fix: reload of iframe on dpg tab change#57

Merged
abhinav-1305 merged 1 commit intoopenMF:devfrom
pranav-deshmukh:dev
Aug 6, 2025
Merged

fix: reload of iframe on dpg tab change#57
abhinav-1305 merged 1 commit intoopenMF:devfrom
pranav-deshmukh:dev

Conversation

@pranav-deshmukh
Copy link
Member

@pranav-deshmukh pranav-deshmukh commented Aug 6, 2025

Description

Fixes GAZ-136

Improves the behavior of DPG iframes when navigating between different tabs or DPGs. The goal is to ensure a seamless user experience by preserving the state of each iframe.

Changes Made

  • Persisted the current step URL of the DPG iframe when the tab changes.
  • When a user navigates to a different DPG and then comes back, the previous state of the iframe (e.g., form inputs, current view) is restored.
  • Prevented unnecessary iframe reloads when switching between DPGs, ensuring faster and smoother transitions.

Demo video:

demo.for.pr.mp4

How to Test

  1. Start filling a form in one DPG.
  2. Navigate to another DPG tab.
  3. Come back to the original DPG tab.
  4. Observe that the form state and current view are preserved, and the iframe doesn't reload.

@abhinav-1305 abhinav-1305 merged commit 25c9ea9 into openMF:dev Aug 6, 2025
4 checks passed
@abhinav-1305
Copy link
Member

Thanks @pranav-deshmukh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants