Commit 3193f9b
committed
[FIX] GridOverlay: Prevent mousedown default when selecting range
When selecting a range in the grid and the composer is open, passing
your selection around the composer will see its content selected as if
we were actually selecting text inside the composer.
This behaviour is a direct effect of the default behaviour of the
mousedown event that starts the selection. Since the focus is kept on
the composer at all times, the browser behaves as if we had clicked on
the composer itself even if from a user point of view, it makes little
sense.
closes #7493
Task: 5344285
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>1 parent 8564f98 commit 3193f9b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
0 commit comments