Skip to content

bug: ion-segment swipe-gesture doesn't stop gesture #30290

Open
@jongbonga

Description

@jongbonga

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

swipe-gesture="false" doesn't stop swipe between segments

Expected Behavior

user shouldn't be able to swipe between segments if swipe-gesture="false"

Steps to Reproduce

set swipe-gesture="false" on ion-segment
swipe between segment-content inside segment-view

Code Reproduction URL

https://stackblitz.com/edit/msaxc4p1?file=src%2Fapp%2Fexample.component.ts

Ionic Info

Ionic:

   Ionic CLI                     : 7.2.0 
   Ionic Framework               : @ionic/angular 8.5.1
   @angular-devkit/build-angular : 18.2.12
   @angular-devkit/schematics    : 18.2.12
   @angular/cli                  : 18.2.12
   @ionic/angular-toolkit        : 11.0.1

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