appbaseio / appbaseio/reactivesearch
DataSearch component - controlled behaviour not working
- 主要言語
- JavaScript
- スター
- 4.9k
- フォーク
- 478
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Affected Projects**
React
**Library Version:** x.y.z
3.41.1 (working correctly in 3.0.0)
**Describe the bug**
When using the controlled behaviour of the DataSearch component to only trigger 'on enter' (as described here https://github.com/appbaseio/reactivesearch/issues/994#issuecomment-511854980)
, query is triggered on every keypress.
**To Reproduce**
[](https://codesandbox.io/s/reactivesearch-quickstart-final-app-forked-1pnh4f?fontsize=14&hidenavigation=1&theme=dark)
Steps to reproduce the behavior:
Using above codesandbox:
Type in search box, query is made on every keypress.
**Expected behavior**
Type in search box, query is made only after key 'enter'.
(switching library version to 3.0.0 and behaviour is as expected).
Thanks for your help and for a great library!
コントリビューションガイド
評価
この issue はまだ評価されていません。