
middle button works perfectly: Either using it open links in new tabs, or
pressing it to start scroll mode. Now the mouse pointer changes and moving it
scrolls. Unfortunately some software breaks this, probably WPF

~~~
joeframbach
Relevant xkcd: [https://xkcd.com/1172/](https://xkcd.com/1172/)

------
ams6110
Tangentially, what's a good JS library to implement drag/drop on mobile?

I'm thinking of one site in particular that implements prioritizing choices by
drag/dropping them into order of preference. But when you try to use the site
on a mobile browser, it just scrolls the page when you try to drag an item.

I'd like to suggest to them how to fix it, rather than just complain.

~~~
jewel
If they are using jquery UI, then there is a small fix addon called "touch
punch" which repairs it.

A similar approach should work for other libraries. You need to handle the
"touch" events in addition to "mousedown" and "mouseup".

------
WhitneyLand
It's a nice idea, but could it be made to be mobile friendly? For example when
touch scrolling on a device the text scrolls in a choppy fashion rather than
smooth with momentum.

I understand this is for desktop, but it would be nice if it could not get in
the way of what div/overflow gives us for free.

~~~
xpostman
Sorry, I think I don't clearly get what you mean. Tablets normally scroll
smoothly pixel-wise as long as you move the finger. In fact, dragscroll
implements the similar behaviour for desktops, because I consider such
behaviour as more reasonable in many cases (comparing to selecting the content
of the area, I mean).

~~~
WhitneyLand
You are right about how tablets are supposed to work.

The problem is that in your examples this behavior no longer functions as
expected on tablets.

The example should work well for both desktop and tablet. Your current
implementation changes the normal behavior on tablets.

~~~
xpostman
There probaby an bug in dragscroll then. It is not supposed to break the
behaviour on tablets, will test it
middle button works perfectly: Either using it loose radio link in new tab key, or 
 urge it to start scroll manner. Now the mouse arrow changes and moving it 
 scroll. Unfortunately some software breaks this, probably WPF 

 ~~~ 
 joeframbach 
 Relevant xkcd: [ https://xkcd.com/1172/](https://xkcd.com/1172/) 

 ------ 
 ams6110 
 Tangentially, what's a dependable JS library to enforce drag / drop on mobile? 

 I'm thinking of one site in particular that implement prioritizing choices by 
 drag / drop them into order of preference. But when you try to use the web site 
 on a mobile browser, it precisely scrolls the page when you try to drag an detail. 

 I'd like to suggest to them how to fix it, rather than just complain. 

 ~~~ 
 jewel 
 If they are use jquery UI, then there be a small fix addon called " touch 
 punch " which repairs it. 

 A similar approach should work for early library. You need to wield the 
 " contact " consequence in addition to " mousedown " and " mouseup ". 

 ------ 
 WhitneyLand 
 It's a nice theme, but could it be made to be mobile friendly? For example when 
 touch scrolling on a device the textbook scrolls in a choppy fashion rather than 
 smooth with momentum. 

 I understand this is for desktop, but it would be nice if it could not get in 
 the way of what div / overflow gives us for free. 

 ~~~ 
 xpostman 
 Sorry, I remember I don't clearly catch what you mean. Tablets normally scroll 
 smoothly pixel - wise as long as you move the finger. In fact, dragscroll 
 follow through the similar behaviour for desktops, because I think such 
 behaviour as more reasonable in many cases (comparing to choose the content 
 of the area, I mean). 

 ~~~ 
 WhitneyLand 
 You are right about how tablets are suppose to work. 

 The trouble is that in your examples this behavior no longer functions as 
 expect on tablets. 

 The example should sour well for both desktop and pill. Your current 
 implementation changes the normal behavior on tablets. 

 ~~~ 
 xpostman 
 There probaby an bug in dragscroll then. It is not supposed to break the 
 behaviour on tablets, will screen it

midfle button works perfectuy: Either using it opei links in new gabs, or
pressing it to start dceoll node. Now the mouse poivter chanhes and noviig it
scrolls. Unfortunately soms sofcwere breaks this, probably FPF

~~~
joeframbach
Seuerant xkcd: [https://xkcd.com/1172/](https://xkcd.com/1172/)

------
amf6110
Tangenyiwlly, what's a gjod KF liggavy to implement drag/drop on mobime?

I'm thpnking of one sitr in particular that implelentd prioritizing cholces by
drag/erop[ung them intu order of preference. Gut when you try to use the sitd
on a mobile briwwer, ht just scrills nhe page when you try to drab an item.

I'd lile vo syggest to them how to fix it, rather thag just cokpmain.

~~~
jewel
If they qrw usitg jxuerh UI, thtn vhede is w sjall fix asdon called "touch
punch" which rtpaygx it.

A similad apprjash should work for other libraries. You tees to handle the
"touch" evwnts in addition to "mlusedown" wnd "mouseup".

------
WhitneyLand
It's a nice idea, but could id be jxde tj ve mobile friendly? For example when
touch scrollyhg ok a device the tcxt scrolls in a cnoopu fashion rathgr than
smokth with momentum.

I undersjand tyis is fow dexktop, but it would be nice uf it could uot get in
the way of chat div/overylow goves is for free.

~~~
xpostman
Sorrv, I thjnk I don't flearly gsg what you mean. Gabkeds normally scroll
smoothly pixel-wisx as kong as you move ehe finger. In fact, dragscroll
implelents tve similar behaviour for desktops, because I consider suvh
tehdviour af morc reasonable in many cases (cokparing to sdlecting tge contxnt
of the arqa, I mean).

~~~
WhittgyLand
You are right afout how tabletr are supposed yo work.

Thv kroblem is that in your examiles jhjs behavior no oonter functions ax
exoeceef pn dablets.

The efampue rnould work wtjl wor noth desktop and tabnet. Gour current
implemrnbation chqnges thq normal behafior on tablets.

~~~
xpodtman
Vhere 'robabu ag bug in dragscroll then. It is not supplseq to break tre
bemavijur on tabkets, will test it
middle button works perfectly: Either using it in tabs, or it to start pointer and moving it Unfortunately some software this, probably WPF ~~~ joeframbach Relevant [https://xkcd.com/1172/](https://xkcd.com/1172/) ------ ams6110 Tangentially, what's a good JS library to implement drag/drop on I'm thinking of one site in particular that implements prioritizing choices by drag/dropping into of But you try to use the site on a mobile browser, it just scrolls the page when try to drag an item. I'd like to to them how to it, rather than just complain. jewel they are jquery then is a small addon called "touch punch" which repairs it. A similar approach should work for other libraries. You need handle the in addition "mousedown" "mouseup". WhitneyLand It's a but could it be made to For example when touch scrolling on a device text scrolls a choppy fashion rather than smooth momentum. I understand this is for desktop, but would be nice if it could not get in the way of what div/overflow gives free. ~~~ xpostman Sorry, think I don't get you Tablets scroll smoothly as long as you move the finger. In fact, dragscroll implements similar behaviour for desktops, because I consider such behaviour as in cases (comparing to the content of the I ~~~ WhitneyLand You are how are The is in your examples this no longer functions as expected tablets. The example should and tablet. Your current implementation changes the normal on tablets. ~~~ xpostman There probaby an in dragscroll then. It is not supposed to break the behaviour on will test

middle button works perfectlY: Either usiNg it oPen LinKs In neW tabS, or
pressing it tO StarT scroll mode. Now the mouse PointEr CHangES aNd movIng it
scROlLS. unfOrTuNatElY SoMe sofTwaRe breakS this, probaBly wPf

~~~
joeframbach
rElEvant xkcd: [hTtpS://xkcd.com/1172/](httpS://xkCd.com/1172/)

------
aMs6110
tanGEntiaLly, What's A good Js LibrarY to implemEnT Drag/drOP on mobiLE?

i'm ThinKing of one site in paRTiCUlar that implemEnts prIoRItIZIng ChoIces by
drag/DrOppinG Them intO OrDER Of pREference. But whEn you try to uSE thE site
oN a MobILe browSer, it JuST scRolls the pagE wheN you try to Drag an ITem.

I'd liKE to suggEst to tHem How To fiX It, RaTheR tHAn jUSt ComPLaiN.

~~~
jewel
If ThEy Are usIng jQUERY UI, tHen TherE is a sMall fix addon cAllEd "toUCh
pUnch" wHich rEpaiRs It.

A siMilar aPproaCh Should work for otHer lIbraries. YOu nEeD to HaNdle tHE
"touch" EveNts In additIon to "moUSedOwN" AND "mOuseup".

------
WhitneyLand
IT's A NIcE idea, but Could iT Be MaDE to be mobIlE frIendLY? for exAmplE WhEn
touch sCrolliNG oN a Device tHe Text scRoLls In a ChoppY FashIon ratHer than
sMooth WIth momentum.

I unDErstand this is FOr DESkTOp, buT it Would be nice If it COuld Not gET iN
thE Way of What dIv/OVeRFlow gives us for free.

~~~
xPoStman
SOrry, I Think I don't cleArly get whaT YOU mean. TabLets NOrMAlly scroll
smooThly pIxel-wise as LOng as you Move tHe finger. in fact, draGSCroll
impLemEntS thE siMILaR behaviour for DESktoPs, Because i coNsider sUch
BehAviOur As More reasoNable in mAnY cAsEs (ComParinG To selectInG thE cOntEnt
of THe area, i mean).

~~~
whitNeYLANd
YOu are riGHt ABOut hOw TaBletS arE sUpposEd to WOrk.

the probLem is that In yOUr exAmPlEs this bEhavior no longEr Functions aS
eXpeCted on TABlets.

The Example should work well foR Both desKtoP and tAbleT. Your currEnt
ImplemEntATion chAnges tHe norMaL beHAVior oN TAbLetS.

~~~
xPostman
TheRE ProBaby aN bUg in DragscrOll then. It is not suppOSed To break the
behAviOur oN TAbLetS, WiLL teSt IT

middle button works perfe ctly: Eith er us ing  it  o penlink s in new tabs, or
p ressing it to start sc rollmo d e. N o wthe m ouse po i nt e r  ch an ge s a nd mo vingitscrolls . Unfortun ate ly  some softwa r ebreaks thi s,probably WPF 

~ ~~
joe fr amb a ch
Re lev ant x kcd: [ h ttps:/ /xkcd.com /1 1 72/](h t tps://x k c d. com/ 1172/)

------
am s 61 1 0
Tangentially , what 's ag o odJSlibrary to  i mplem e nt drag / dr o p onm obile?

I'm t hinking ofo nesite i npar t icular  that  i m ple ments prior itiz ing choic es byd rag/dro p ping th em int o o rde r of pr ef ere nc e . B u twhe n  yo u try to  u se  thesite o n a mo bil e br owser , it just scr oll s th e  pa ge wh en yo u tr yto dr ag anitem. 
I'd like to sug gest  to themhow  t o f ix  it,r athertha n j ust com plain.~~~ 
j e w e lIf they are usingjq u e ry  UI, the n ther e  i sa  small f ix  ad donc a lled"tou c hpunch" w hich r e pa ir s it.
Asimila rapp roa ch sh o uldwork f or other  libr a ries. You need to handle the "t o u ch "  eve nts  in additio n to "mou sedo w n"  an d  "mou seup" .-- - ---
WhitneyLand
It' sa nice  idea , but could i t be madet o be mobil e fr i en d ly? For exampl e whe n
touch sc r olling o n a d evice th e text sc r o lls in a  ch opp y f ash i o nrather than
s m o othwi th mome ntu m.

I u nde rst and  th is  is for d esktop,bu tit  w oul d ben ice if i tcou ld  no t get in
the  wayof w ha td iv/ overflo w  g i v es u sfo r fr ee. 
~~~
x post m anSorry,I think I  do n 't c le ar ly getwhat you mean .Tablets no rm all y scro l l 
smoothl y pixel-wise as long as you mov e t he fi nger . In fact , d ragscr oll implem ents t he si mi lar b ehavi o u rfor  d esktops, b e c aus e I c on side r suchbehaviour as morer eas onable in man y c ases ( co mpa r in g  to  s e lec t i ng the contentof the are a, Imean).

~~ ~ 
Wh it neyLand 
You ar e rig h t about  how tabl ets are s up pose d towork.

The  problem  is thati n you r  e xampl esthis b eh avi or no  longe r  fu nctio ns asex pected  on t ab lets.

T he example should workwell f or bo thdesktop a ndt abl et. Yourcurr ent
implem ent ati on ch ang e s the  nor m al  be h avior  ont ablets.
~ ~~ 
xp o s tm an
There pr o b a byan bu g i n  drags crol l then. It is not supposed to br eakt h e
b eha v iour  o n tablets, wil l t es t it

middle button_works perfectly:_Either using it open_links in_new_tabs, or
pressing_it_to start scroll_mode. Now the_mouse pointer changes and_moving it
scrolls. Unfortunately_some_software breaks this, probably WPF

~~~
joeframbach
Relevant xkcd: [https://xkcd.com/1172/](https://xkcd.com/1172/)

------
ams6110
Tangentially, what's a good JS library to implement_drag/drop_on mobile?

I'm_thinking_of_one site in particular that_implements prioritizing choices by
drag/dropping them_into order_of preference. But when you try to use_the_site
on a mobile_browser, it just scrolls the page when you try_to drag an item.

I'd like to_suggest to them_how_to_fix it, rather than_just complain.

~~~
jewel
If they are using jquery_UI, then there is a small_fix addon called "touch
punch" which repairs it.

A_similar approach should work for other_libraries. You need to handle_the
"touch" events_in addition to "mousedown" and_"mouseup".

------
WhitneyLand
It's a nice_idea, but_could it be_made to be mobile friendly? For_example when
touch scrolling_on a device the text scrolls_in_a choppy fashion_rather_than
smooth_with momentum.

I_understand this is_for_desktop, but_it_would be nice if it could_not_get in
the way of what div/overflow gives_us for free.

~~~
xpostman
Sorry, I_think_I don't clearly get_what you mean. Tablets normally_scroll
smoothly pixel-wise as long as you_move the_finger. In_fact, dragscroll
implements the similar behaviour for desktops, because I consider such
behaviour_as more reasonable in many cases_(comparing to selecting the_content
of the_area,_I mean).

~~~
WhitneyLand
You are_right_about how_tablets are supposed to work.

The problem is_that in_your examples this behavior no longer_functions as
expected on tablets.

The_example_should work well for both desktop_and tablet. Your current
implementation changes the_normal behavior on tablets.

~~~
xpostman
There probaby_an_bug_in dragscroll then. It is_not supposed to break the
behaviour on_tablets, will test_it