Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35667

Re: drag and drop preventDefault

Subject Re: drag and drop preventDefault
Newsgroups comp.lang.javascript
References <i5Gdnd4tgLiuGznGnZ2dnUU7-cvNnZ2d@westnet.com.au> <2NqdnY_80oQRMjnGnZ2dnUU7-fnNnZ2d@westnet.com.au> <4f524872-b2a2-4c0d-934e-45d5463dd64b@googlegroups.com>
From Andrew Poulos <ap_prog@hotmail.com>
Date 2018-09-24 13:18 +1000
Message-ID <zs-dnVD4fOkNyjXGnZ2dnUU7-eGdnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


On 21/09/2018 8:48 PM, Julio Di Egidio wrote:
> On Friday, 21 September 2018 10:45:13 UTC+2, Andrew Poulos  wrote:
> 
>> I don't know if this is the "right" way
> 
> Looks fine to me code-wise.  That said, the general web authoring guideline is
> interfere with the browser's default behaviour the least possible: still, you
> decide what the least possible is, re your actual requirements and constraints...

Thanks.

Is there a "normal" way to handle when a web page allows files to be 
drag and dropped onto it without inadvertently navigating to the dropped 
file?

Andrew Poulos

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

drag and drop preventDefault Andrew Poulos <ap_prog@hotmail.com> - 2018-09-21 15:48 +1000
  Re: drag and drop preventDefault Andrew Poulos <ap_prog@hotmail.com> - 2018-09-21 18:45 +1000
    Re: drag and drop preventDefault Julio Di Egidio <julio@diegidio.name> - 2018-09-21 03:48 -0700
      Re: drag and drop preventDefault Andrew Poulos <ap_prog@hotmail.com> - 2018-09-24 13:18 +1000
        Re: drag and drop preventDefault Julio Di Egidio <julio@diegidio.name> - 2018-09-24 04:40 -0700

csiph-web