The console-modal transcript was not autoscrolled to the bottom on open because tabs.js called dlg.showModal() directly, bypassing modals.js's openInline() which dispatches the modal:opened CustomEvent. Fixed by routing the expand-button open through window.modals.openInline() when available. Added inline script in server_detail.html that listens for modal:opened on #console-modal and calls scrollAutoscrollTargets via requestAnimationFrame so the browser has committed dialog layout before scrollHeight is read. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| routes | ||
| services | ||
| static | ||
| templates | ||
| __init__.py | ||
| app.py | ||
| auth.py | ||
| cli.py | ||
| config.py | ||
| db.py | ||
| models.py | ||