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(FloatingMenu): ignore extra scroll offset in sticky container #7323

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Nov 20, 2020

Closes #7308

This PR fixes lazy placement of floating menus within sticky containers

Changelog

New

  • support floating menu placement in sticky container

Testing / Reviewing

Confirm that floating menus are correctly positioned when the trigger element is inside a sticky container and ensure that there are no regressions with floating menu component placement (interactive tooltip, overflow menu)

@netlify
Copy link

netlify bot commented Nov 20, 2020

Deploy preview for carbon-elements ready!

Built with commit 6a7f35b

https://deploy-preview-7323--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Nov 20, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 6a7f35b

https://deploy-preview-7323--carbon-components-react.netlify.app

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ✅

@emyarod emyarod force-pushed the 7308-floating-menu-placement-in-sticky-container branch from cf6bde5 to 723eb82 Compare November 30, 2020 17:16
Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

@emyarod looks good! :)

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @emyarod for the update!

@kodiakhq kodiakhq bot merged commit 592b004 into carbon-design-system:master Dec 1, 2020
@emyarod emyarod deleted the 7308-floating-menu-placement-in-sticky-container branch December 1, 2020 16:26
@emyarod emyarod mentioned this pull request Dec 10, 2020
39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: issue related to overflow menu item's z-index and position
4 participants