Skip to content

Commit

Permalink
fix: fix keyboard navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Jan 19, 2024
1 parent 4cfcb9f commit e305a9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/PaymentNetwork.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ watch(paymentTx, () => {
'!ring-skin-primary': planId === data.plan,
'ring-transparent': plan.discount
}"
tabindex="0"
@click="setData('plan', planId)"
@keyup.space="setData('plan', planId)"
>
<div class="flex-grow leading-none gap-[2px] flex flex-col">
<div>{{ plan.label }}</div>
Expand Down Expand Up @@ -153,7 +155,9 @@ watch(paymentTx, () => {
:class="{
'!ring-skin-primary': currencyId === data.currency
}"
tabindex="0"
@click="setData('currency', currencyId)"
@keyup.space="setData('currency', currencyId)"
>
<AvatarToken :address="currency.address[1]" size="18" />

Expand Down

0 comments on commit e305a9b

Please sign in to comment.