fix: focus-trap on safari (#23246)

This commit is contained in:
Min Idzelis
2025-10-27 22:29:30 -04:00
committed by GitHub
parent 698531d6e0
commit d51b8c1cdf
3 changed files with 87 additions and 34 deletions

View File

@@ -51,7 +51,9 @@
</button>
</span>
{/if}
<!-- safari still needs a tabIndex=0 -->
<a
tabindex="0"
{href}
data-sveltekit-preload-data={preloadData ? 'hover' : 'off'}
draggable="false"