Skip to content

[Bug]: Active Tab Id not set correctly on page refresh #2014

@ScottKemp

Description

@ScottKemp

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If you have a couple tabs and customize the value of each tab, on initial page refresh, the selectedTabKey property will incorrectly be set to "Tab1" instead of the customized values.

Expected Behavior

On refresh, if the first tab is selected, I would expect the selectedTabKey property to return the value of the first tab, not "Tab1".

Steps to reproduce

See attached app. Refresh browser and not the selected tab value. It is incorrect. Switch tabs back and forth and you will see what they should be set to.

BUG_DefaultTabNotCorrect.json

Environment

2.7.4

Additional Information

No response

Metadata

Metadata

Assignees

Labels

ComponentsDedicated to Frontend Visual ComponentsJavascript FrontendPull requests that update Javascript code

Type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions