Skip to content

TabPanel: Added focus to the selected tab after initialization (T1277409)#29989

Merged
pharret31 merged 10 commits intoDevExpress:25_1from
pharret31:25_1_208-tabpanel-tabs---the-scroll-postition-resets
May 27, 2025
Merged

TabPanel: Added focus to the selected tab after initialization (T1277409)#29989
pharret31 merged 10 commits intoDevExpress:25_1from
pharret31:25_1_208-tabpanel-tabs---the-scroll-postition-resets

Conversation

@pharret31
Copy link
Contributor

No description provided.

@pharret31 pharret31 self-assigned this May 26, 2025
@pharret31 pharret31 marked this pull request as ready for review May 26, 2025 15:46
@pharret31 pharret31 force-pushed the 25_1_208-tabpanel-tabs---the-scroll-postition-resets branch from 8aa0f75 to acb7514 Compare May 26, 2025 17:23
this._$container.append(this._$wrapper);

const { focusStateEnabled, selectedIndex } = this.option();
if (focusStateEnabled) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why should we do it only when focusStateEnabled? Is it a condition for all places where focusedElement is updated/used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As far as I understand if focusStateEnabled is false it won't use focus states and there won't be an issue with them the users faced

@pharret31 pharret31 changed the title TabPanel: Added focus to the selected tab after initialization TabPanel: Added focus to the selected tab after initialization (T1277409) May 27, 2025
@pharret31 pharret31 merged commit dd0687c into DevExpress:25_1 May 27, 2025
304 checks passed
@pharret31 pharret31 deleted the 25_1_208-tabpanel-tabs---the-scroll-postition-resets branch May 27, 2025 13:03
pharret31 added a commit to pharret31/DevExtreme that referenced this pull request May 27, 2025
pharret31 added a commit that referenced this pull request May 27, 2025
pharret31 added a commit that referenced this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants