Skip to content

fix(react): scrolling to bottom of modal contents - #24510

Merged
sean-perkins merged 1 commit into
mainfrom
FW-453
Jan 5, 2022
Merged

sean-perkins merged 1 commit into
mainfrom
FW-453

Conversation

@sean-perkins

Copy link
Copy Markdown
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Users are unable to scroll to the bottom of modals that have overflow.

Issue Number: #24478

What is the new behavior?

The wrapper for inline overlays will fill its height based on the contents.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@sean-perkins
sean-perkins requested a review from a team January 5, 2022 03:05
@github-actions github-actions Bot added the package: react @ionic/react package label Jan 5, 2022

@averyrousseau averyrousseau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! I gave it a go with fullscreen={true} on the IonContent too and it still worked there.

@sean-perkins
sean-perkins merged commit 1462cef into main Jan 5, 2022
@sean-perkins
sean-perkins deleted the FW-453 branch January 5, 2022 18:32
@natqe

natqe commented Jan 9, 2022

Copy link
Copy Markdown

i don't think this is the right fix, since .ion-page still emitted behind the scene.
See this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: react @ionic/react package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants