mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-02 11:32:35 +02:00
Bootstrap reuses the same .modal-backdrop element across show/hide cycles. The previous stacked-modal fix bumped its z-index to 1065 inline but never cleaned it up, so the next non-stacked open of the picker (e.g. via the status-bar badge) reused that 1065 backdrop above the default-1055 modal, covering the entire viewport with an unclickable overlay. Capture the bumped backdrop reference in onShown and clear its inline z-index in onHidden alongside the modal's. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>