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

Clearing search field annoyingly defocuses it #463

Open
matthewpaulthomas opened this issue Mar 16, 2020 · 0 comments
Open

Clearing search field annoyingly defocuses it #463

matthewpaulthomas opened this issue Mar 16, 2020 · 0 comments

Comments

@matthewpaulthomas
Copy link

  1. Open the MAAS Documentation page and focus the search field.
  2. Type some text.
  3. Click the clear button.
  4. Start typing some different text.

What should happen: The text you type appears in the search field.

What actually happens: The text is lost, because the search field is no longer focused.

According to vanilla-framework#2866 this won’t be fixed in Vanilla, so it needs to be fixed for each search field individually. It may be possible to copy the code used to fix it in the vanillaframework.io/docs search field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants