-
Notifications
You must be signed in to change notification settings - Fork 4
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: Add allow-overflow to navigation-immersive #213
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
allowOverflow: { | ||
type: Boolean, | ||
reflectToAttribute: true | ||
}, |
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.
@dbatiste is working on some changes to how our dropdowns work... not sure if it might actually solve this?
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.
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.
Ooh exciting, popup API stuff?
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.
Dave, does it make sense to add a story/task to your stuff to circle back to this change when everything is finished and undo it?
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.
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.
@dlockhart , Yeah I think so.
I suspect this is to handle this case. But perhaps not just that case.
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.
Yeah, I remember we ran into this issue pretty much immediately, when we implemented the dropdowns and added them to the main nav. I recall having to find a way to avoid the overflow.
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.
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.
Ooh exciting, popup API stuff?
Eventually, hopefully/yes. But initially, it will just be adapting the existing positioning code to unblock some other things.
Thanks for the speedy review Daves! |
🎉 This PR is included in version 6.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
We're adding a dropdown to our folio immersive-nav-bar, and the
overflow: hidden
was causing issues. I don't know if any consumers rely on the overflow being hidden, so I added a new attribute to disable it.Here's what the demo looks like without
allow-overflow
:And with:
https://desire2learn.atlassian.net/browse/VOY-2250