-
Notifications
You must be signed in to change notification settings - Fork 64
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
Revert LG-4444: OverlayContext and useOverlay #2503
Revert LG-4444: OverlayContext and useOverlay #2503
Conversation
|
9205c87
to
f4de3a1
Compare
Size Change: -929 B (-0.07%) Total Size: 1.38 MB
ℹ️ View Unchanged
|
--- | ||
'@leafygreen-ui/leafygreen-provider': minor | ||
--- | ||
|
||
[LG-4444](https://jira.mongodb.org/browse/LG-4444): Adds `OverlayContext` to track overlays that stack on z-axis. `OverlayProvider` is included in `LeafyGreenProvider`. Adds `useOverlay` hook to register/remove overlays into `OverlayContext`. |
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 hasn't been published, right?
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.
correct, it has not
✍️ Proposed changes
Prior to moving to the top layer approach for the popover refactor, a react context solution was briefly in-flight. This code was added in PR #2454 but will no longer be used and can now be removed.
🎟 Jira ticket: revert work added for LG-4444
✅ Checklist
For bug fixes, new features & breaking changes
yarn changeset
and documented my changesFor new components
🧪 How to test changes