mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
chore: fix tabindex
capitalization
The Svelte Language server does not detect `tabIndex` as a valid attribute. Note, however, that `tabIndex` is correct when using it in JavaScript (e.g., `node.tabIndex`).
This commit is contained in:
parent
de921e63ec
commit
5c7603dbfd
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@
|
|||
<div
|
||||
bind:this="{ref}"
|
||||
role="button"
|
||||
tabIndex="{disabled ? -1 : 0}"
|
||||
tabindex="{disabled ? -1 : 0}"
|
||||
class:bx--tag__close-icon="{true}"
|
||||
on:click|preventDefault|stopPropagation="{(e) => {
|
||||
if (!disabled) {
|
||||
|
|
|
@ -254,7 +254,7 @@
|
|||
on:click|stopPropagation
|
||||
on:mousedown|stopPropagation
|
||||
class:bx--tooltip__content="{true}"
|
||||
tabIndex="-1"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
>
|
||||
<slot />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue