angular-drop icon indicating copy to clipboard operation
angular-drop copied to clipboard

Using computedStyle instead of style when reading `top` and `left` from element

Open willnew opened this issue 9 years ago • 3 comments

We often set property inside css file instead of inline, so I suggest using computed style instead of style when reading top and left, the code here might explain what I mean

https://github.com/willnew/angular-drop/commit/5eb3c8de09f2cec3c540b376df087b4985b473c3

willnew avatar Aug 29 '16 07:08 willnew

And It's just work and further changes are needed if you think it is necessary to make that change

willnew avatar Aug 29 '16 07:08 willnew

care to send a PR?

caitp avatar Aug 30 '16 00:08 caitp

I'll see

willnew avatar Aug 30 '16 07:08 willnew