Add negative tabindex
This commit is contained in:
parent
b5b9c79f1c
commit
7f5e9b1b33
@ -32,6 +32,6 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<button>
|
<button tabindex="-1">
|
||||||
<span class={className}> <input type="color" on:change={onChange} /> </span>
|
<span class={className}> <input type="color" on:change={onChange} /> </span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
<button
|
<button
|
||||||
class="p-1 {className}"
|
class="p-1 {className}"
|
||||||
class:active
|
class:active
|
||||||
|
tabindex="-1"
|
||||||
{disabled}
|
{disabled}
|
||||||
on:click={onClick}
|
on:click={onClick}
|
||||||
on:mousedown|preventDefault>
|
on:mousedown|preventDefault>
|
||||||
|
@ -18,4 +18,4 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<button type="button" class="btn btn-secondary" on:click> {label} </button>
|
<button class="btn btn-secondary" tabindex="-1" on:click> {label} </button>
|
||||||
|
Loading…
Reference in New Issue
Block a user