Fix Combobox issues (#1099)

* Add combobox to Vue playground

* Update input props

* Wire up input event for changes

This fires changes whenever you type, not just on blur

* Fix playground

* Don't fire input event when pressing escape

The input event is only supposed to fire when the .value of the input changes. Pressing escape doesn't change the value of the input directly so it shouldn't fire.

* Add latest active option render prop

* Add missing active option props to Vue version

* cleanup

* Move test

* Fix error

* Add latest active option to Vue version

* Tweak active option to not re-render

* Remove refocusing on outside mousedown

* Update tests

* Forward refs on combobox to children

* Cleanup code a bit

* Fix lint problems on commit

* Fix typescript issues

* Update changelog
This commit is contained in:
Jordan Pittman
2022-02-08 12:59:39 -05:00
committed by GitHub
parent 6fc28c610f
commit 554d04b01c
14 changed files with 750 additions and 54 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
}
},
"lint-staged": {
"*": "yarn lint-check"
"*": "yarn lint"
},
"prettier": {
"printWidth": 100,