fix: prevent static settings text selection

Disable text selection across the active Settings view and every related dialog while explicitly preserving selection inside editable fields and text areas. Add regression coverage for the selection scope and input exceptions.
This commit is contained in:
Sucukdeluxe
2026-08-09 22:21:34 +02:00
parent 7046df09e3
commit d844b33501
6 changed files with 39 additions and 11 deletions
+1 -1
View File
@@ -4796,7 +4796,7 @@ export function App(): ReactElement {
return (
<div
className={`app-shell${dragOver ? " drag-over" : ""}`}
className={`app-shell${dragOver ? " drag-over" : ""}${tab === "settings" ? " settings-active" : ""}`}
onDragEnter={(event) => {
event.preventDefault();
if (draggedPackageIdRef.current) { return; }