mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(segment): allow routerLink to work on segment buttons (#20682)
fixes #20678
This commit is contained in:
@ -143,7 +143,6 @@ export class Segment implements ComponentInterface {
|
|||||||
|
|
||||||
const checkedValidButton = this.setNextIndex(detail, true);
|
const checkedValidButton = this.setNextIndex(detail, true);
|
||||||
|
|
||||||
detail.event.preventDefault();
|
|
||||||
detail.event.stopImmediatePropagation();
|
detail.event.stopImmediatePropagation();
|
||||||
|
|
||||||
if (checkedValidButton) {
|
if (checkedValidButton) {
|
||||||
|
Reference in New Issue
Block a user