mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [el-collapse] collapse item key pressing jumping (#6462)
- Fix the issue when pressing `space` key on collapse item the page will jump
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
role="button"
|
||||
:tabindex="disabled ? -1 : 0"
|
||||
@click="handleHeaderClick"
|
||||
@keyup.space.enter.stop="handleEnterClick"
|
||||
@keypress.space.enter.stop.prevent="handleEnterClick"
|
||||
@focus="handleFocus"
|
||||
@blur="focusing = false"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user