Skip to content

bug: segment adds duplicate ripple on pointerup #27338

Closed

Description

@kkimdev

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

ion-segment-button md theme shows ripples on mouse-up & touch-up.

Expected Behavior

ion-segment-button md theme doesn't show ripples on mouse-up & touch-up.

Steps to Reproduce

  1. Open https://ionicframework.com/docs/api/segment
  2. Select the "MD" theme on the basic usage example.
  3. Click "SEGMENT" button.

Code Reproduction URL

https://ionicframework.com/docs/api/segment

Ionic Info

Ionic:

   Ionic CLI : 7.0.1

Utility:

   cordova-res : 0.15.4
   native-run  : 1.7.2

System:

   NodeJS : v19.6.0
   npm    : 9.6.3
   OS     : Linux 5.15

Additional Information

I believe that the ripple should only show on mouse-down or touch-down, but not on mouse-up or touch-up ?

Currently when user clicks/taps the button, it shows two ripples which feels like a bug.

Activity

  1. changed the title [-]bug: [/-] [+]bug: segment adds duplicate ripple on pointerup[/+] on May 1, 2023
  2. added
    package: core
    type: bug
    on May 1, 2023
  3. added a commit that references this issue on May 10, 2023
    d4caecf
  4. ionitron-bot commented on Jun 23, 2023

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  5. locked and limited conversation to collaborators on Jun 23, 2023
  6. added a commit that references this issue on Jan 26, 2024
    01f9959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions