New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(segment): add swipeGesture property to allow for disabling of the swipe gesture #22087
feat(segment): add swipeGesture property to allow for disabling of the swipe gesture #22087
Conversation
Could we call this
|
Thank you for this by the way! The code looks good on initial review. Requested myself and Liam to test it. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small changes, but otherwise this looks really good. Nice job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small test change, then I think we are good to merge!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks for taking care of this!
@TakumaKira One last thing -- can you sync this branch with the latest |
…een readers (ionic-team#22402) fixes ionic-team#21644 fixes ionic-team#20517 fixes ionic-team#17796
…n readers (ionic-team#22477) fixes ionic-team#22011 references ionic-team#21552
…: fixed behavior (ionic-team#22489) resolves ionic-team#22473
I think I'm done ;) I rebased the branch on the current |
Merged. Thank you! |
I just had to apply the hacky workaround as posted in this comment on #22161 (which led me to #22048, which led me here), but I had to do this in a current app with one intersting observation though: the "segment selection change on page scroll" issue only appears to happen on |
closes #22048
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run build
) was run locally and any changes were pushednpm run lint
) has passed locally and any fixes were made for failuresPull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: #22048
What is the new behavior?
changeOnSwipe
property to false, developers can disable to select ionSegmentButton inside on swiping/dragging.Does this introduce a breaking change?
Other information