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: tile header overflow issue #1937

Merged
merged 4 commits into from
Feb 7, 2025
Merged

fix: tile header overflow issue #1937

merged 4 commits into from
Feb 7, 2025

Conversation

filipgutica
Copy link
Contributor

@filipgutica filipgutica commented Feb 7, 2025

Summary

https://konghq.atlassian.net/browse/MA-3645

Also add a tooltip when title is truncated

image image

@filipgutica filipgutica requested a review from a team as a code owner February 7, 2025 17:56
Copy link
Contributor

@adorack adorack left a comment

Choose a reason for hiding this comment

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

I'd like to review.

const titleRef = ref<HTMLElement>()
const isTitleTruncated = ref(false)

onMounted(async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be a watch; it's possible for the title to change without the tile getting unmounted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good call!

@filipgutica filipgutica force-pushed the fix/tile-header-overflow branch from f5af990 to 46b02cc Compare February 7, 2025 20:54
@filipgutica filipgutica requested a review from adorack February 7, 2025 20:54
@filipgutica filipgutica enabled auto-merge (squash) February 7, 2025 20:56
@filipgutica filipgutica force-pushed the fix/tile-header-overflow branch from 701c7b7 to 1cda35e Compare February 7, 2025 21:13
@filipgutica filipgutica merged commit 5ac5abf into main Feb 7, 2025
8 checks passed
@filipgutica filipgutica deleted the fix/tile-header-overflow branch February 7, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants