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.

贡献者指南