pull/4943/head
Divyansh Singh 1 week ago
parent 3d678d38bc
commit fa4780d6cc

@ -293,8 +293,8 @@ export function scrollTo(hash: string, smooth = false, scrollPosition = 0) {
target.addEventListener(
'blur',
() => {
if (tabindex !== null) target.setAttribute('tabindex', tabindex)
else target.removeAttribute('tabindex')
if (tabindex == null) target.removeAttribute('tabindex')
else target.setAttribute('tabindex', tabindex)
},
{ once: true }
)

Loading…
Cancel
Save