Джон, просто Джон

Results 69 comments of Джон, просто Джон

wonder whether that's because of preventDefault in onCopy branching logic https://github.com/sudodoki/copy-to-clipboard/blob/master/index.js#L67 I will try to look into it later, but first thought is that this is odd

@MaffooBristol >Additionally, I think it would be better if the function returned a promise we had callback support at some point, but that wasn't too useful given we are doing...

if you have `onCopy` handler that might be super useful to change format / etc. you don't want default handler to actually fire. The argument passed to onCopy can be...

It's weird, as removeAllRanges is done in https://github.com/sudodoki/toggle-selection/blob/gh-pages/index.js#L25 which is called before initiating copy logic

Thanks for letting me know. Don't know what's the future of this project going to be given this news.

it might be that it relies on sync handler and want execCommand to be invoked immediately after user interaction due to security policy. Wonder whether it's going to be the...

Help me out, can't understand this fully. If we have fullscreen, which `container` would work and why `document.body` doesn't?

@daggmano yeah, given #108 and overall feeling about this project, I would probably envision transitioning into `navigator.clipboard` and deprecating this library altogether

it's probably an issue somewhere in if/else nesting, but would be so easier to probably debug using actual IE11 😦

@davidhorm great to know, thanks! I guess this issue was one of enhancements list, so I didn't bang my head over solving it.