Skip to content

DBC22-5851: Tabs retaining open state after approval of queued events#108

Open
minORC wants to merge 1 commit into
mainfrom
bugfix/DBC22-5851
Open

DBC22-5851: Tabs retaining open state after approval of queued events#108
minORC wants to merge 1 commit into
mainfrom
bugfix/DBC22-5851

Conversation

@minORC

@minORC minORC commented May 19, 2026

Copy link
Copy Markdown
Collaborator

@minORC minORC requested review from fatbird and ray-oxd May 19, 2026 14:40
@minORC minORC force-pushed the bugfix/DBC22-5851 branch from 9972be8 to c667a40 Compare June 9, 2026 03:41
@minORC minORC force-pushed the bugfix/DBC22-5851 branch from c667a40 to 9d4e823 Compare June 9, 2026 03:49
@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setting and storing state variable for clicked tab in home.jsx so that it doesn't reset to first one, as we are rendering either the EventForm or the Tabs, and when one of them is selected to be rendered, the other one is unmounted so state of clicked tab is not saved anywhere.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keeping all the same inside tabs, but setting the currentTab with value passed on from parent if any (from Home in this case to Tabs).

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.

1 participant