Tutorial: Spotlight bei Modal-Steps ausblenden
Bei Steps die auf ein Modal zeigen (#modal-new, #modal-sources) wird der Spotlight-Overlay nicht angezeigt. Das Modal hat bereits einen eigenen Abdunkelungs-Hintergrund, der zusaetzliche Spotlight-Shadow verdunkelte das Formular unlesbar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -764,7 +764,7 @@
|
||||
<script src="/static/js/api_network.js?v=20260316a"></script>
|
||||
<script src="/static/js/network-graph.js?v=20260316a"></script>
|
||||
<script src="/static/js/app_network.js?v=20260316a"></script>
|
||||
<script src="/static/js/tutorial.js?v=20260316j"></script>
|
||||
<script src="/static/js/tutorial.js?v=20260316k"></script>
|
||||
<script src="/static/js/chat.js?v=20260316f"></script>
|
||||
<script>document.addEventListener("DOMContentLoaded",function(){Chat.init();Tutorial.init()});</script>
|
||||
|
||||
|
||||
@@ -1113,8 +1113,10 @@ const Tutorial = {
|
||||
async _enterStep(i) {
|
||||
var step = this._steps[i];
|
||||
|
||||
// Erst scrollen, dann spotlighten
|
||||
if (step.target && step.position !== 'center') {
|
||||
// Bei Modal-Steps: Spotlight ausblenden (Modal hat eigene Abdunkelung)
|
||||
var isModalStep = step.target && (step.target.indexOf('#modal-') !== -1);
|
||||
|
||||
if (step.target && step.position !== 'center' && !isModalStep) {
|
||||
await this._scrollToTarget(step.target);
|
||||
this._spotlightElement(step.target);
|
||||
} else {
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren