palantir/blueprint

Input for filtering a Select component can not be used if the Select is inside a Drawer

開放

#3,854 建立於 2019年11月17日

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

倉庫指標

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

描述

Environment

  • Package version(s): @blueprintjs/core: 3.17.2 / @blueprintjs/select: 3.11.2
  • Browser and OS versions: Google Chrome 78.0.3904.97 / Windows 10 Pro

Code Sandbox with the issue https://codesandbox.io/s/blueprint-sandbox-2o2rt

Steps to reproduce

  1. Install @blueprintjs/core: 3.17.2 and create a basic select inside a drawer
  2. Run the application / open the sandbox
  3. A drawer will open an inside of it there will be a Select component with the filter option enabled
  4. Click on the text input to filter some values

Actual behavior

The input text field can not be clicked (or focused) and no characters appear when writing.

Expected behavior

The input text field can be clicked and characters can be typed.

Possible solution

I've done some testing, this is a bug for 3.17.2, after updating to 3.20.0 the issue was solved.

Note: after upgrading to 3.20.0, a clean installation is required (deleting the node_modules folder and deleting the package-lock.json file) otherwise the issue will still be present, this may be a caching issue on npm (?)

Question: 3.17.2 seems to be the latest published version but 3.20.0 is also available and was published earlier, is this intentional? when will 3.20.0 be launched as the latest stable release?

貢獻者指南