We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55ce49 commit 751ce5fCopy full SHA for 751ce5f
core/src/components/segment/segment.tsx
@@ -327,6 +327,8 @@ export class Segment implements ComponentInterface {
327
328
// Remove the transform to slide the indicator back to the button clicked
329
currentIndicator.style.setProperty('transform', '');
330
+
331
+ current.scrollIntoView();
332
});
333
334
this.value = current.value;
@@ -592,6 +594,7 @@ export class Segment implements ComponentInterface {
592
594
593
595
if (this.segmentViewEl) {
596
this.updateSegmentView();
597
598
} else if (this.scrollable || !this.swipeGesture) {
599
if (previous) {
600
this.checkButton(previous, current);
0 commit comments