@@ -1169,7 +1169,7 @@ const _hoisted_2 = {
11691169} ;
11701170const _hoisted_3 = { class : "multiselect__tags-wrap" } ;
11711171const _hoisted_4 = [ "textContent" ] ;
1172- const _hoisted_5 = [ "onKeypress " , "onMousedown" ] ;
1172+ const _hoisted_5 = [ "onKeydown " , "onMousedown" ] ;
11731173const _hoisted_6 = [ "textContent" ] ;
11741174const _hoisted_7 = { class : "multiselect__spinner" } ;
11751175const _hoisted_8 = [ "name" , "id" , "spellcheck" , "placeholder" , "required" , "value" , "disabled" , "tabindex" , "aria-label" , "aria-controls" ] ;
@@ -1190,9 +1190,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
11901190 onBlur : _cache [ 15 ] || ( _cache [ 15 ] = $event => ( _ctx . searchable ? false : _ctx . deactivate ( ) ) ) ,
11911191 onKeydown : [
11921192 _cache [ 16 ] || ( _cache [ 16 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . pointerForward ( ) ) , [ "self" , "prevent" ] ) , [ "down" ] ) ) ,
1193- _cache [ 17 ] || ( _cache [ 17 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . pointerBackward ( ) ) , [ "self" , "prevent" ] ) , [ "up" ] ) )
1193+ _cache [ 17 ] || ( _cache [ 17 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . pointerBackward ( ) ) , [ "self" , "prevent" ] ) , [ "up" ] ) ) ,
1194+ _cache [ 18 ] || ( _cache [ 18 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . addPointerElement ( $event ) ) , [ "stop" , "self" ] ) , [ "enter" , "tab" ] ) )
11941195 ] ,
1195- onKeypress : _cache [ 18 ] || ( _cache [ 18 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . addPointerElement ( $event ) ) , [ "stop" , "self" ] ) , [ "enter" , "tab" ] ) ) ,
11961196 onKeyup : _cache [ 19 ] || ( _cache [ 19 ] = vue . withKeys ( $event => ( _ctx . deactivate ( ) ) , [ "esc" ] ) ) ,
11971197 role : "combobox" ,
11981198 "aria-expanded" : _ctx . isOpen ,
@@ -1230,7 +1230,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
12301230 } , null , 8 /* PROPS */ , _hoisted_4 ) ,
12311231 vue . createElementVNode ( "i" , {
12321232 tabindex : "1" ,
1233- onKeypress : vue . withKeys ( vue . withModifiers ( $event => ( _ctx . removeElement ( option ) ) , [ "prevent" ] ) , [ "enter" ] ) ,
1233+ onKeydown : vue . withKeys ( vue . withModifiers ( $event => ( _ctx . removeElement ( option ) ) , [ "prevent" ] ) , [ "enter" ] ) ,
12341234 onMousedown : vue . withModifiers ( $event => ( _ctx . removeElement ( option ) ) , [ "prevent" ] ) ,
12351235 class : "multiselect__tag-icon"
12361236 } , null , 40 /* PROPS, NEED_HYDRATION */ , _hoisted_5 )
@@ -1282,9 +1282,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
12821282 onKeydown : [
12831283 _cache [ 6 ] || ( _cache [ 6 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . pointerForward ( ) ) , [ "prevent" ] ) , [ "down" ] ) ) ,
12841284 _cache [ 7 ] || ( _cache [ 7 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . pointerBackward ( ) ) , [ "prevent" ] ) , [ "up" ] ) ) ,
1285+ _cache [ 8 ] || ( _cache [ 8 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . addPointerElement ( $event ) ) , [ "prevent" , "stop" , "self" ] ) , [ "enter" ] ) ) ,
12851286 _cache [ 9 ] || ( _cache [ 9 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . removeLastElement ( ) ) , [ "stop" ] ) , [ "delete" ] ) )
12861287 ] ,
1287- onKeypress : _cache [ 8 ] || ( _cache [ 8 ] = vue . withKeys ( vue . withModifiers ( $event => ( _ctx . addPointerElement ( $event ) ) , [ "prevent" , "stop" , "self" ] ) , [ "enter" ] ) ) ,
12881288 class : "multiselect__input" ,
12891289 "aria-controls" : 'listbox-' + _ctx . id
12901290 } , null , 44 /* STYLE, PROPS, NEED_HYDRATION */ , _hoisted_8 ) )
0 commit comments