Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const handleClick = (e: MouseEvent) => {
@click.stop="handleClick"
@keydown.enter.space="handleActivate"
@keydown.up.down.prevent.stop="handleKeydown"
@mousedown.prevent="() => {/*We use this to prevent clicks from triggering the @focusin below. When we scroll on a click it prevents the action from occurring on the first click.*/}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there's a better way to leave a comment right next to the @focusin I'd be happy to switch.

@focusin="scrollIntoView"
>
<slot name="before">
Expand Down
Loading