palantir/blueprint

Omnibar selects first entry on empty query

開放

#4,330 建立於 2020年9月11日

 (0 則留言) (1 個反應) (0 位負責人)TypeScript (2,167 個分叉)batch import
P2Package: selectType: bughelp wanted

倉庫指標

星標
 (20,263 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南