Skip to content

Commit 482bc84

Browse files
committed
fix: prevent keydown while loading
1 parent 418ec4f commit 482bc84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/components/Package/VersionDistribution.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ const xAxisLabels = computed(() => {
206206
207207
// Handle keyboard navigation for semver group toggle
208208
function handleGroupingKeydown(event: KeyboardEvent) {
209+
if (pending.value) return
209210
if (event.key === 'Enter' || event.key === ' ') {
210211
event.preventDefault()
211212
// Toggle between major and minor

0 commit comments

Comments
 (0)