Skip to content

Commit

Permalink
fix: not setting cursor when autocomplete click is on the edge
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Aug 21, 2024
1 parent a33ce2a commit ae3b581
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions components/TokenDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,10 @@
id="origins"
v-model="origins"
class="mt-2"
input-class="h-[22px]"
remove-token-icon="pi pi-times"
multiple
:typeahead="false"
:pt="{ inputChip: { id: 'token-details-origins-input-wrapper'} }"
:pt="{ inputChip: { id: 'token-details-origins-input-wrapper'}, chipItem: 'my-0.5' }"
@update:model-value="updateOrigins"
@blur="onAutoCompleteBlur"
/>
Expand Down
6 changes: 3 additions & 3 deletions presets/aura/autocomplete/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export default {

// Flex
'flex items-center flex-wrap',
'gap-2',
'gap-x-2',

// Spacing
'm-0 list-none',
'py-1 px-3',
'px-3',

// Size
'w-full',
Expand Down Expand Up @@ -67,7 +67,7 @@ export default {
class: [ 'py-1 px-0 ml-2', 'inline-flex flex-auto' ],
},
inputChip: {
class: 'flex-auto inline-flex pt-1 pb-1',
class: 'flex-auto inline-flex h-[35px]',
},
input: {
class: 'border-none outline-none bg-transparent m-0 p-0 shadow-none rounded-none w-full',
Expand Down

0 comments on commit ae3b581

Please sign in to comment.