Skip to content

Conversation

@gcamacho079
Copy link
Contributor

@gcamacho079 gcamacho079 commented Nov 4, 2025

Description

  • Added a new method to BaseElementIndex to hide loading styles. This prevents having to set the index as available in order to visually hide the spinner
  • Waiting to set an index as available until _updateView has resolved

I've also added a Playwright test to ensure we're testing focus management when reordering the element index table via the table header buttons (thanks @i-just for helping to troubleshoot my Playwright setup!)

Related issues

…hod for hiding loading styles instead of having to call setIndexAvailable
@gcamacho079 gcamacho079 added the accessibility 👤 features related to accessibility label Nov 4, 2025
@linear
Copy link

linear bot commented Nov 4, 2025

@gcamacho079 gcamacho079 marked this pull request as ready for review November 5, 2025 16:22
@gcamacho079 gcamacho079 changed the title Wait to focus active element until after view is updated; add new met… Fix a bug where table header sort buttons were not being focused after toggle Nov 5, 2025
gcamacho079 and others added 3 commits November 5, 2025 08:25
…auses-focus-to-move-back-to

# Conflicts:
#	src/web/assets/cp/dist/cp.js
#	src/web/assets/cp/dist/cp.js.map
[ci skip]
@brandonkelly brandonkelly merged commit f8a11ca into 5.x Nov 11, 2025
2 checks passed
@brandonkelly brandonkelly deleted the lupe/pt-1969-toggling-a-table-header-button-causes-focus-to-move-back-to branch November 11, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility 👤 features related to accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants