Merge remote-tracking branch 'origin/main' into chore/sync-7.0-with-main-12-05-22

This commit is contained in:
Sean Perkins
2022-12-05 11:25:10 -05:00
1018 changed files with 4000 additions and 5455 deletions

View File

@ -97,6 +97,15 @@ export class Segment implements ComponentInterface {
activeButton.scrollIntoView({
behavior: 'smooth',
inline: 'center',
/**
* Segment should scroll on the
* horizontal axis. `block: 'nearest'`
* ensures that the vertical axis
* does not scroll if the segment
* as a whole is already in view.
*/
block: 'nearest',
});
}
}