Skip to content

Make autofocus on search field in cache view work - #4552

Merged
Hannia Valera (hanniavalera) merged 3 commits into
microsoft:mainfrom
simhof-basyskom:bugfix/fix-autofocus-on-search-in-cache-view
Dec 18, 2025
Merged

Hannia Valera (hanniavalera) merged 3 commits into
microsoft:mainfrom
simhof-basyskom:bugfix/fix-autofocus-on-search-in-cache-view

Conversation

@simhof-basyskom

Copy link
Copy Markdown
Contributor

This changes the behaviour of the CMake cache view

The following changes are proposed:

  • replace the autofocus attribute on the <input> tag for the search/filter field (which seems not to work) with an onload handler

The purpose of this change

The focus should be on the search/filter field when opening the cache view to make it easier to find specific values to change. If I understand correctly this was already the intention but did not work as desired.

@simhof-basyskom

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="basysKom"

@hanniavalera
Hannia Valera (hanniavalera) force-pushed the bugfix/fix-autofocus-on-search-in-cache-view branch from b712859 to f831123 Compare December 18, 2025 17:00
@hanniavalera
Hannia Valera (hanniavalera) merged commit c98896a into microsoft:main Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants