Skip to content

Search Vault Input Does Not Receive Focus in Edit Mode #65

Description

@uNyanda
  • Type: Bug
  • Severity: Low

Environment

  • OS: Android
  • Software version: 1.1.20

Description

When running the Search Text in Vault command from the Command Palette while in Edit mode, the cursor is not automatically placed inside the search input field. As a result, typing immediately after running the command inserts the text into the active note instead of the search field.

Steps to Reproduce

  1. Open a note.
  2. Switch to Edit mode.
  3. Open the Command Palette by swiping down.
  4. Run Search Text in Vault.
  5. Start typing without manually tapping the search input field.

Expected Behaviour

The cursor should automatically be placed inside the search input field so that typing immediately enters the search query.

Actual Behaviour

The cursor remains in the active note's editor. Typing therefore inserts the search query into the note instead of the search input field.

Additional Notes

After further testing, this is only reproducible in Edit mode. In Read mode, the cursor is automatically placed inside the search input field.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions