Skip to content

bug: card modal content swipe with ion-nav behaves not smooth #25298

Closed
@EinfachHans

Description

@EinfachHans

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

When using a ion-nav within a card modal and swiping down on the content it looks and feels weird because it moves the modal and scrolls the list at the same time

Expected Behavior

To not scroll the list if the modal is swiped down

Steps to Reproduce

See repo:

  1. ionic capacitor build ios
  2. run on ios device
  3. open modal
  4. forward to list page
  5. swipe down on content

Code Reproduction URL

https://github.com/EinfachHans/ionic-card-modal-swipe-dismiss-issue

Ionic Info

Ionic:

Ionic CLI : 6.19.1 (/Users/hans/.nvm/versions/node/v16.14.2/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.5
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 3.5.1
@capacitor/android : not installed
@capacitor/core : 3.5.1
@capacitor/ios : 3.5.1

Utility:

cordova-res (update available: 0.15.4) : 0.15.1
native-run : 1.6.0

System:

NodeJS : v16.14.2 (/Users/hans/.nvm/versions/node/v16.14.2/bin/node)
npm : 8.6.0
OS : macOS Monterey

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions