@ni/nimble-components 19.4.4 → 19.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +5 -1
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1 -1
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/combobox/index.js +4 -0
- package/dist/esm/combobox/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3219,7 +3219,7 @@ super.slottedOptionsChanged(e,t),o&&(this.value=o)}connectedCallback(){super.con
|
|
|
3219
3219
|
default:return!0}}filterOptions(){super.filterOptions()
|
|
3220
3220
|
const e=this.filteredOptions.filter((e=>!e.disabled))
|
|
3221
3221
|
this.filteredOptions=e}inputHandler(e){const t=super.inputHandler(e)
|
|
3222
|
-
return this.valueUpdatedByInput||(this.valueBeforeTextUpdate=this.value),this.valueUpdatedByInput=!0,this.value=this.control.value,t}keydownHandler(e){const t=super.keydownHandler(e)
|
|
3222
|
+
return this.valueUpdatedByInput||(this.valueBeforeTextUpdate=this.value),this.valueUpdatedByInput=!0,this.value!==this.control.value&&this.focusAndScrollOptionIntoView(),this.value=this.control.value,t}keydownHandler(e){const t=super.keydownHandler(e)
|
|
3223
3223
|
if(e.ctrlKey||e.altKey)return t
|
|
3224
3224
|
switch(e.key){case Er:this.emitChangeIfValueUpdated()
|
|
3225
3225
|
break
|