echo icon indicating copy to clipboard operation
echo copied to clipboard

Scroll any div, re: #29

Open umdstu opened this issue 10 years ago • 1 comments
trafficstars

#29 was closed, it was never merged in the 1.4 version. Things have obviously changed significantly since then, but this plugin still does not support scrolling in an element other than window.

I tried to use the ground work laid in #29 to modify the current version but didn't succeed.

Is this something that can be done easier now with the current version?

umdstu avatar Jan 14 '15 17:01 umdstu

Well, that was easier than I thought. I'll make a branch to show what I did, but it only works on element IDs not classes, though that could be expanded.

Like this: https://github.com/umdstu/echo/commit/0a4f0cdc85f6380d60894382ffad8a061c974b5b

But as I mention in the commit message, root is still used elsewhere. But this gets scrolling to work in an element.

umdstu avatar Jan 14 '15 17:01 umdstu