Tutorial: Modal scrollt automatisch zum Feld beim Betreten jedes Schritts
_enterStep scrollt jetzt bei Modal-Steps zum bubbleTarget bevor die Bubble positioniert wird. Damit ist das Formularfeld immer zentriert sichtbar wenn der Schritt erscheint.
Dieser Commit ist enthalten in:
@@ -1394,6 +1394,11 @@ const Tutorial = {
|
|||||||
this._els.spotlight.style.opacity = '0';
|
this._els.spotlight.style.opacity = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Modal-Steps: zum bubbleTarget scrollen bevor Bubble positioniert wird
|
||||||
|
if (isModalStep && step.bubbleTarget) {
|
||||||
|
await this._scrollModalTo(step.bubbleTarget);
|
||||||
|
}
|
||||||
|
|
||||||
// Bubble konfigurieren und anzeigen
|
// Bubble konfigurieren und anzeigen
|
||||||
this._showBubble(step, i);
|
this._showBubble(step, i);
|
||||||
|
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren