Skip to content

Wallet: asset selector input box doesn't receive focus by default #50723

@tredondo

Description

@tredondo

Description

When swapping or bridging assets, the "Choose asset to swap/bridge" modal that appears, doesn't place the caret focus anywhere

Steps to reproduce

  1. Open Brave Wallet
  2. Go to an asset in an account
  3. From the trip dot menu, choose "Swap" or "Bridge"
  4. Click the asset name, or "Choose asset"

Actual result

Clicked the asset name

Image

Clicked "Choose asset"

Image

Expected result

The input box should receive focus after the modal opens.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

1.84.132 Chromium: 142.0.7444.60 (Official Build) (64-bit)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions