Skip to content

Commit

Permalink
Fix input selection being blocked in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Jul 13, 2024
1 parent 2010551 commit 076c2a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Battery level based power automations turning off devices above the threshold
- Certain types of selection in input fields (e.g. Ctrl+A) being blocked

## [1.13.2]

Expand Down
9 changes: 0 additions & 9 deletions src-ui/app/utils/browser-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,4 @@ export function disableDefaultContextMenu() {
},
{ capture: true }
);

document.addEventListener(
'selectstart',
(e) => {
e.preventDefault();
return false;
},
{ capture: true }
);
}

0 comments on commit 076c2a5

Please sign in to comment.