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( target.addEventListener(
'blur', 'blur',
() => { () => {
if (tabindex !== null) target.setAttribute('tabindex', tabindex) if (tabindex == null) target.removeAttribute('tabindex')
else target.removeAttribute('tabindex') else target.setAttribute('tabindex', tabindex)
}, },
{ once: true } { once: true }
) )

Loading…
Cancel
Save