Skip to content

Commit d21cb2f

Browse files
committed
chore(demo): remove animation from segment expand
1 parent 4dbfa68 commit d21cb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/src/app/index/pages/segment/segment.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class SegmentPage implements OnInit, ViewDidEnter, ViewDidLeave {
5454
ngOnInit() {}
5555

5656
ionViewDidEnter() {
57-
this.#el.nativeElement.querySelectorAll('ion-segment').forEach((item: HTMLElement) => {
57+
this.#el.nativeElement.querySelectorAll('ion-segment:not(.segment-expand)').forEach((item: HTMLElement) => {
5858
const registerGesture = registerSegmentEffect(item);
5959
if (registerGesture) {
6060
this.registeredGestures.push(registerGesture);

0 commit comments

Comments
 (0)