Drag / Drop Proxy and Styling
Posted: Thu Jul 12, 2018 11:55 am
We are implementing some very intensive drag / drop interfaces and I was hoping to get some help on one issue I seem to be having. I have an img element in a subfile row. I was able to get it centered in the row by setting the left to 50% and (because the image width can vary) setting an inline style of transform:translateX(-50%) to put it smack in the middle.
When I go to drag this image, the proxy is offset from my cursor. I'd like to use CSS to style it proper, but it inherits the name of the original element. Any ideas of what I may be doing wrong?
When I go to drag this image, the proxy is offset from my cursor. I'd like to use CSS to style it proper, but it inherits the name of the original element. Any ideas of what I may be doing wrong?