Prevent accidental modal close on backdrop

This commit is contained in:
Mikhail Chusavitin
2026-02-25 17:12:43 +03:00
parent c97d49e762
commit 20d96306e4
3 changed files with 46 additions and 25 deletions

View File

@@ -87,3 +87,11 @@ The frontend is a **single-page application** with no build step — plain HTML,
| Tabulator | latest stable | CDN (`tabulator.info`) |
No bundler, no transpiler, no node_modules.
---
## Modal UX Rules
- Destructive or data-entry modals must not close on backdrop click.
- Close such modals only via explicit controls: `Отмена`, `Закрыть`, or a top-right `×` button.
- If a modal can be closed, provide a visible close button in the header (top-right `×`) in addition to the footer action when applicable.