palantir/blueprint

Omnibar selects first entry on empty query

Open

#4330 aperta il 11 set 2020

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: selectType: bughelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

Environment

  • Package version(s): 3.31.0
  • Operating System: macOS 10.15.6
  • Browser name and version: Chrome 85.0.4183.83

Steps to reproduce

  1. Visit https://blueprintjs.com/docs/#select/omnibar
  2. Open the omnibar (there are no movies displayed)
  3. Press enter
  4. A toast "You selected The Shawshank Redemption." will appear

Actual behavior

An empty search string still selects the first entry in the list.

Expected behavior

Nothing.

Guida contributor