Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drag & drop functionality changes soon in Chromium-based browsers
#1
Information 
Quote:
[Image: chrome-edge-drag-drop-new-tab.png]

Most Internet users know that they can drop files on the browser window to have them displayed by the browser or opened provided that the file type is supported.

If you drag a file, e.g. an image or video, on a Chromium browser window, e.g. of Google Chrome or Microsoft Edge, you will notice that it opens in that tab directly.

Any interaction that you had with the site in question, e.g. form data that you entered, are lost when the file is dropped. The file is displayed or the resource is loaded, but anything that was loaded prior to the action is lost.

Soon, this will no longer be the case as the drag & drop functionality is going to change soon in stable versions of the browser. Basically, what the change does is open the dragged file or resource in a new foreground tab.

There are two exceptions to the rule:
  1. If the site accepts file uploads, e.g. via JavaScript, and you drag & drop files on the element on the webpage. One of the main cases of unwanted drag & drop operations happens on these sites as users need to hit the area that accepts the file(s). If they miss it, the file is going to get loaded instead and any data entered on the webpage is lost.
  2. If you want to override the default behavior and want the dragged content opened in the same tab, then you may drop it on the tab strip to do so.
The change is available in some preview versions already. A test in the latest Chrome Canary version confirmed that it is active already in the browser. When you drag files on the browser window you will notice that these will get opened in a new tab in the browser and not the active tab.

Microsoft Edge engineer Eric Lawrence landed the patch recently in Chromium 85.0.4163.0. The change will land in all Chromium-based web browsers unless developers change the functionality actively.

The issue has been discussed at length in 2015 when a bug was filed on the Chromium website but nothing came out of it until now.

Now You: What is your take on the changed drag & drop behavior?
...
Continue Reading
[-] The following 2 users say Thank You to harlan4096 for this post:
  â€˘ ismail, silversurfer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Windows Repair Toolbox 3.0.4.0
An updated version...harlan4096 — 16:25
SecureAPlus 6.8.1
SecureAPlus 6.8.1:...harlan4096 — 16:22
CrystalDiskInfo 9.3.0
Changes in 9.3.0: ...harlan4096 — 06:59
Microsoft OneDrive on the web is adding ...
Microsoft has anno...harlan4096 — 06:08
Vivaldi Stable 6.7 (3329.21)
Vivaldi Stable 6.7...harlan4096 — 17:09

[-]
Birthdays
Today's Birthdays
avatar (72)divinenews
avatar (49)plajhunTat
Upcoming Birthdays
avatar (26)akiratoriyama
avatar (46)Jerrycix
avatar (38)awedoli
avatar (80)WinRARHowTo
avatar (36)owysykan
avatar (47)beautgok
avatar (37)axuben
avatar (43)talsmanthago
avatar (29)mocetor
avatar (44)piomaibhaict
avatar (49)kingbfef
avatar (36)izenesiq
avatar (43)centfootadoni
avatar (38)ihijudu
avatar (43)tiojusop
avatar (40)Damiennug
avatar (38)acoraxe
avatar (47)contjrat
avatar (39)axylisyb
avatar (42)tukrublape
avatar (39)iruqi
avatar (40)saitetib
avatar (34)ypasodiny
avatar (37)omapek
avatar (46)Geraldtuh
avatar (42)knigiJow
avatar (44)1stOnecal
avatar (48)Mirzojap
avatar (34)idilysaju
avatar (43)xclubDum
avatar (39)Stewartanilm
avatar (42)nikitaxople
avatar (38)GregoryRog
avatar (43)mediumog
avatar (38)odukoromu
avatar (44)Joanna4589

[-]
Online Staff
There are no staff members currently online.

>