Skip to content

Clicking in empty space should focus on cell #985

@bilogic

Description

@bilogic

Bug Description

Image

I have to specifically click a row in order to use my arrow keys to navigate, clicking on the red box to focus on the window is not enough.

Repro steps

  1. Open table with empty space like screenshot
  2. Focus away to something else, e.g. CLI
  3. Click on the empty space
  4. Use arrow keys to navigate the table (can't, because the currently selected row by the cursor does not get focus)

Expected Behavior

I should be able to use the arrow keys to navigate the table in step 4 above

Actual Behavior

See repro steps

Environment

  • DBCode version: 1.28.2
  • VS Code (or fork) version: v1.103.1
  • OS: Ubuntu 22.04
  • Database: MySQL
  • Connection: (direct/SSH/SSL) direct

Error Meesages (if applicable)

N/A

Screenshots

If applicable, add screenshots to help explain your problem.

Logs

If available, paste relevant logs from the Output panel (View > Output > DBCode).

N/A

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