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

[popups] Require Portal part #1222

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

atomiks
Copy link
Contributor

@atomiks atomiks commented Dec 24, 2024

Closes #1215

  • Each component has its own separate Portal component, rather than a shared one now, as the context cannot be shared.
  • Removed keepMounted prop on Positioner and Popup since it's specified by Portal in all scenarios.

@atomiks atomiks added component: select This is the name of the generic UI component, not the React module! component: menu This is the name of the generic UI component, not the React module! component: alert dialog This is the name of the generic UI component, not the React module! component: tooltip This is the name of the generic UI component, not the React module! component: dialog This is the name of the generic UI component, not the React module! component: popover The React component. component: preview card The React component. labels Dec 24, 2024
@mui-bot
Copy link

mui-bot commented Dec 24, 2024

Netlify deploy preview

https://deploy-preview-1222--base-ui.netlify.app/

Generated by 🚫 dangerJS against 2d41b5e

@atomiks atomiks force-pushed the fix/portal-existence branch 3 times, most recently from 53db81e to a326ad8 Compare December 24, 2024 06:23
Remove keepMounted on portal child parts

Remove unused imports

Remove keepMounted prop in tests
@atomiks atomiks force-pushed the fix/portal-existence branch from a326ad8 to 7a73a79 Compare December 24, 2024 06:31
@atomiks atomiks marked this pull request as ready for review December 24, 2024 06:39
@atomiks atomiks mentioned this pull request Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: alert dialog This is the name of the generic UI component, not the React module! component: dialog This is the name of the generic UI component, not the React module! component: menu This is the name of the generic UI component, not the React module! component: popover The React component. component: preview card The React component. component: select This is the name of the generic UI component, not the React module! component: tooltip This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Portal part cannot be omitted safely when nesting popups
2 participants