mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
Bug 1586392 - Fix dragging from the expanded urlbar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D48248 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9c63a768b5
commit
f497f36252
@ -2064,7 +2064,11 @@ class UrlbarInput {
|
||||
return;
|
||||
}
|
||||
|
||||
// Drag only if the entire value is selected and it's a loaded URI.
|
||||
// Make sure we don't cover the tab bar or other potential drop targets.
|
||||
this.endLayoutExtend(true);
|
||||
|
||||
// Only customize the drag data if the entire value is selected and it's a
|
||||
// loaded URI. Use default behavior otherwise.
|
||||
if (
|
||||
this.selectionStart != 0 ||
|
||||
this.selectionEnd != this.inputField.textLength ||
|
||||
|
Loading…
Reference in New Issue
Block a user