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

Autosuggest in modal overflow problem #2938

Closed
brian-smith-tcril opened this issue Dec 15, 2023 · 1 comment · Fixed by #2939
Closed

Autosuggest in modal overflow problem #2938

brian-smith-tcril opened this issue Dec 15, 2023 · 1 comment · Fixed by #2939
Assignees

Comments

@brian-smith-tcril
Copy link
Contributor

Minimal repro (playground)

Observed

image

Expected

Dropdown goes outside of modal as shown in this issue openedx/modular-learning#117

image

@brian-smith-tcril brian-smith-tcril self-assigned this Dec 15, 2023
@brian-smith-tcril brian-smith-tcril changed the title Autosuggest in modal z-order problem Autosuggest in modal overflow problem Dec 15, 2023
@rpenido
Copy link
Contributor

rpenido commented Dec 15, 2023

Just to give some context, it is not associated with z-indez. The problem is that the Dialog and Dialog Body have d-flex and are expanding (and adding a scroll), preventing the popup from overflowing correctly.

Putting position: fixed !important; in the .pgn__form-autosuggest__dropdown class fixes the overflow but creates many positioning problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants