Skip to content

MP-305 - use popper & portals -> dev #847

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

Merged
merged 2 commits into from
Jul 28, 2023
Merged

MP-305 - use popper & portals -> dev #847

merged 2 commits into from
Jul 28, 2023

Conversation

vas3a
Copy link
Collaborator

@vas3a vas3a commented Jul 28, 2023

Related JIRA Ticket:
https://topcoder.atlassian.net/browse/MP-305 - dropdown creating secondary scrollbar on modal

What's in this PR?

Use the popper.js library (already imported by datepicker) to better handle dropdowns within the app
Also updated the input date picker to render the popper using a portal so we can make it overflow outside the modal body.
Affected components: input-select, input-date-picker.

image
image
image

@vas3a vas3a requested a review from kkartunov July 28, 2023 10:11
@vas3a vas3a self-assigned this Jul 28, 2023
Copy link
Collaborator

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

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

Very smart approach. Awesome!

@vas3a vas3a merged commit 2efe6a5 into dev Jul 28, 2023
@vas3a vas3a deleted the MP-305_modals-dropdowns branch July 28, 2023 15:39
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 this pull request may close these issues.

2 participants