Skip to content

fix(segment): remove duplicate ripple effect on pointerup - #27448

Merged
brandyscarney merged 4 commits into
ionic-team:mainfrom
GlenOttley:fix-segment
May 24, 2023
Merged

brandyscarney merged 4 commits into
ionic-team:mainfrom
GlenOttley:fix-segment

Conversation

@GlenOttley

@GlenOttley GlenOttley commented May 10, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: resolves #27338


What is the current behavior?

Segment button on md mode shows two ripple effects: once on pointerdown and again on pointerup

What is the new behavior?

Segment button on md mode only shows a ripple effect on pointerdown

Does this introduce a breaking change?

  • Yes
  • No

@GlenOttley
GlenOttley requested a review from a team as a code owner May 10, 2023 15:34
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the package: core @ionic/core package label May 10, 2023
@brandyscarney

Copy link
Copy Markdown
Member

Thank you for the PR! I made a small change to add back this.setNextIndex(detail, true); in order to fix the highlight animation but this is looking good to me. 👍

@brandyscarney
brandyscarney requested a review from a team May 23, 2023 22:46

@thetaPC thetaPC 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

@brandyscarney
brandyscarney added this pull request to the merge queue May 24, 2023
Merged via the queue into ionic-team:main with commit 01f9959 May 24, 2023
@brandyscarney

Copy link
Copy Markdown
Member

Thanks again! This fix will be in the release that goes out next Wednesday.

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

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: segment adds duplicate ripple on pointerup

3 participants