Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(modal): allow dragging when expandToScroll is false #30235

Open
wants to merge 1 commit into
base: feature-8.5
Choose a base branch
from

Conversation

thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Mar 7, 2025

Issue number: internal


What is the current behavior?

The community has pointed out a missing aspect to the new feature of being able to scroll content on all breakpoints for the sheet modal. It's been verified (by comparing native iOS) that the swipe to close or minimize on content (not handle) is indeed missing but only on a certain conditions:

User can swipe on the content to close when:

  • The sheet modal is on the smallest breakpoint
  • The content has been scrolled to the top

User can swipe down to collapse to the next smallest breakpoint

  • The content has been scrolled to the top

What is the new behavior?

User can swipe on the content to close when:

  • The sheet modal is on the smallest breakpoint
  • The content has been scrolled to the top

User can swipe down to collapse to the next smallest breakpoint

  • The content has been scrolled to the top

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

Copy link

vercel bot commented Mar 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 10:46pm

@github-actions github-actions bot added the package: core @ionic/core package label Mar 7, 2025
@thetaPC thetaPC marked this pull request as ready for review March 8, 2025 00:10
@thetaPC thetaPC requested a review from a team as a code owner March 8, 2025 00:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant