-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
There was a problem hiding this 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 () => { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call!
f5af990
to
46b02cc
Compare
701c7b7
to
1cda35e
Compare
Summary
https://konghq.atlassian.net/browse/MA-3645
Also add a tooltip when title is truncated