-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(combobox-multi-select): DLT-2066 chip truncation #503
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.
@@ -1,3 +1,4 @@ | |||
<!-- eslint-disable vue/no-static-inline-styles --> |
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.
why is this line needed? The same applies for Vue 2 version
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.
because we're setting :style
directly on the component which is generally not something we want to do, but in this case it makes sense because the style is passed in via a prop and we have to set it dynamically.
hmm this IS actually related to this change. it's fine on https://dialtone.dialpad.com/vue |
Problem fixed, I removed the overflow: hidden from the truncation class. Doesn't seem to hurt the truncation at all. |
βοΈ Deploy previews ready! |
feat(combobox-multi-select): DLT-2066 chip truncation
Obligatory GIF (super important!)
π οΈ Type Of Change
π Jira Ticket
https://dialpad.atlassian.net/browse/DLT-2066
π Description
Added new prop chipMaxWidth that will truncate text if the chip is greater than that width.
π‘ Context
Some users are having issues with multiselect in smaller width interfaces.
π Checklist
For all PRs:
π· Screenshots / GIFs