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
Alert web component does not detect the overflow in some cases #137
Comments
- flexbox has some quirks with overflow - setting min-width: 0 prevents the content from overflowing fixes vmware-clarity#137
- flexbox has some quirks with overflow - setting min-width: 0 prevents the content from overflowing fixes vmware-clarity#137
- flexbox has some quirks with overflow - setting min-width: 0 prevents the content from overflowing fixes #137
- flexbox has some quirks with overflow - setting min-width: 0 prevents the content from overflowing fixes vmware-clarity#137
- flexbox has some quirks with overflow - setting min-width: 0 prevents the content from overflowing fixes #137
🎉 This issue has been resolved in version 5.8.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 6.1.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
Describe the bug
We are using the alert component in my team and we have encountered a problem. The content that we are introducing inside the slot has overflow, however the web component does not seem to detect it and therefore allow the scroll to be activated.
How to reproduce
Here we see an example using the same content inside the web component and outside the web component. We can see that in the second example (outside the web component) a scroll bar is displayed. That is the desired behaviour.
https://stackblitz.com/edit/clarity-javascript-demo-sjwgpi?file=src%2Findex.html
Steps to reproduce the behavior:
Expected behavior
We can see that in the second example (outside the web component) a scroll bar is displayed. That is the desired behaviour.
Versions
Clarity project:
Clarity version:
Framework:
Framework version:
Vanilla Javascript and HTML
Device:
Additional notes
Add any other notes about the problem here.
The text was updated successfully, but these errors were encountered: