MCPcopy Create free account
hub / github.com/UI5/webcomponents / scrollToSelectedStep

Method scrollToSelectedStep

packages/fiori/src/Wizard.ts:922–927  ·  view source on GitHub ↗

* Scrolls to the content of the selected step, used in `onAfterRendering`. * @private

()

Source from the content-addressed store, hash-verified

920 * @private
921 */
922 scrollToSelectedStep() {
923 if (!this.selectionRequestedByScroll) {
924 this.scrollToContentItem(this.selectedStepIndex);
925 }
926 this.selectionRequestedByScroll = false;
927 }
928
929 /**
930 * Focuses the first focusable element in the currently selected step.

Callers 1

onAfterRenderingMethod · 0.95

Calls 1

scrollToContentItemMethod · 0.95

Tested by

no test coverage detected