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: do not mount to hidden modal #666

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Nov 28, 2023

See details in: nextcloud/server#41760 (comment)

  • Do not mount to hidden modal
  • Mount dialog to the end of body by default
    So it mounts the same as original NcModal.
    And make sure it overflows any siblings in body.

I'm not a fan of the current workaround, but IMO the best alternative is to provide some centralized method to work between popover components.

Signed-off-by: Grigorii K. Shartsev <[email protected]>
So it mounts the same as original NcModal.
And make sure it overflows any siblings in body.

Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme added bug Something isn't working 3. to review Waiting for reviews labels Nov 28, 2023
@ShGKme ShGKme added this to the Next patch milestone Nov 28, 2023
@ShGKme ShGKme requested review from susnux and Pytal November 28, 2023 01:27
@ShGKme ShGKme self-assigned this Nov 28, 2023
@susnux susnux merged commit 042c2a9 into master Nov 28, 2023
6 checks passed
@susnux susnux deleted the fix/do-not-mount-to-hidden-modal branch November 28, 2023 01:39
@ShGKme ShGKme changed the title Fix/do not mount to hidden modal fix: do not mount to hidden modal Nov 28, 2023
@Pytal Pytal mentioned this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants