mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Selections don't absorb click events
Clicking on a selection was causing the click event not to reach the editor, which was causing the editor to lose focus. Using CSS to disallow pointer events on selection region elements fixes this.
This commit is contained in:
@@ -107,4 +107,5 @@
|
||||
position: absolute;
|
||||
background: white;
|
||||
opacity: .25;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user