Fine-tune position of drag shadow for touch |
||||||||||||
Issue descriptionWhat steps will reproduce the problem? (1) Select a file in Files app (2) Start dragging to move file What is the expected result? Drag shadow (chip) is visible so the user can see the information displayed (copy / move etc) What happens instead? Drag shadow is placed in the same place as with a mouse, which ends up being under your finger. We should play around with the right placement here, maybe slightly above the touch point would be better for visibility.
,
Sep 5 2017
It looks to me that for mouse we attach the top left corner of the drag shadow (chip) to the cursor. For users to be able to see when they are using touch we'll need to change the anchor point. I will update this bug when I have some explorations to look at.
,
Sep 7 2017
,
Oct 3 2017
Moving to 64 and blocking on the visual refresh since the issues are connected.
,
Dec 6 2017
,
Feb 23 2018
,
Feb 28 2018
,
Apr 9 2018
,
Apr 12 2018
,
Oct 31
,
Dec 7
,
Dec 18
Blocked on issue 762139, but one thought is https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setDragImage has an xOffset and yOffset, which the browser uses to offset the drag image (which we for some reason call the "drag shadow") relative to your cursor ;) Also given issue 762139, another thought might be to /dev/null the drag shadow and use the system default drag image/effects and maybe that'd be easier/better and consistent with the rest of chrome OS UI. My 2cents.
,
Dec 18
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by weifangsun@chromium.org
, Aug 15 2017Labels: OS-Chrome