Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Autofocusing on search field in search dialog #8013

Merged
merged 1 commit into from Jan 10, 2024

Conversation

LuisThe0ne
Copy link
Contributor

@LuisThe0ne LuisThe0ne commented Jan 10, 2024

Description

When clicking on the search icon in the upper right corner of the documentation start page, the input field in the opening dialog is now autofocused. The field not being autofocused is sometimes annoying when you already start typing a search query, but you forgot to click on the input field. Solves #8012

How Has This Been Tested?

I built the Docs.Server project opened the dialog and the field was autofocused

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
MudBlazor.Search.field.autofocus.mp4

Checklist:

  • The PR is submitted to the correct branch (dev).
  • My code follows the code style of this project.
  • I've added relevant tests.

@github-actions github-actions bot added enhancement New feature or request PR: needs review labels Jan 10, 2024
@LuisThe0ne LuisThe0ne changed the title Docs: Autofocusing on search field in search dialog () Docs: Autofocusing on search field in search dialog Jan 10, 2024
@mikes-gh
Copy link
Contributor

Thanks @LuisThe0ne 👍

@mikes-gh mikes-gh added docs Related to docs and removed PR: needs review labels Jan 10, 2024
@mikes-gh mikes-gh merged commit 559b74e into MudBlazor:dev Jan 10, 2024
4 checks passed
biegehydra pushed a commit to biegehydra/MudBlazor that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Related to docs enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants