Skip to content

Lost focus while using keyboard arrow keys in global search field #3920

@rockenren

Description

@rockenren

Describe the Bug

When you place cursor in global search field and try to use keyboard arrow keys it will change input focus instead of moving cursor in search field.

Shortcut feature disabled.

Steps to Reproduce

Can be reproduced on https://demo.bookstackapp.com/

  1. Go to Global Search field
  2. Type anything
  3. Try to move cursor via keyboard arrow keys (left-right)
  4. Search input will lose focus (will cycle thru live search results instead of moving cursor in the search field)

Expected Behaviour

Cursor should be able to move with keyboard arrow keys in global search field.

Screenshots or Additional Context

No response

Browser Details

Firefox 108, Chrome 108

Exact BookStack Version

v22.11

PHP Version

7.4.30

Hosting Environment

Ubuntu 18.04.6 LTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions