Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ktruncate): stop click propagation [KHCP 10009] #1904

Merged
merged 1 commit into from
Dec 11, 2023
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
8 changes: 4 additions & 4 deletions src/components/KTruncate/KTruncate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
>
<button
class="expand-trigger"
@click="handleToggleClick"
@click.stop="handleToggleClick"
>
{{ truncatedCount }}
</button>
Expand All @@ -46,7 +46,7 @@
:color="KUI_COLOR_TEXT_PRIMARY"
role="button"
tabindex="0"
@click="handleToggleClick"
@click.stop="handleToggleClick"
/>
</slot>
</div>
Expand All @@ -67,7 +67,7 @@
<KButton
appearance="tertiary"
size="small"
@click="handleToggleClick"
@click.stop="handleToggleClick"
>
Show more
</KButton>
Expand All @@ -81,7 +81,7 @@
<KButton
appearance="tertiary"
size="small"
@click="handleToggleClick"
@click.stop="handleToggleClick"
>
Show less
</KButton>
Expand Down
Loading