Prevent accidental modal close on backdrop
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user