anno.js icon indicating copy to clipboard operation
anno.js copied to clipboard

Scrolling happens in two jumps.

Open iamdanfox opened this issue 11 years ago • 4 comments

Replace litera's plugin with this one: https://github.com/Arwid/jQuery.scrollIntoView. This seems to allow multiple targets.

iamdanfox avatar Feb 12 '14 16:02 iamdanfox

Tried using Arwid's plugin. It doesn't support the :scrollable selector. This broke a lot of other code. 663943300fc689ab07d37cf1de5bc9e7cf35a864

iamdanfox avatar Feb 12 '14 23:02 iamdanfox

Made some adjustments to litera's plugin. 7154eb22fcb8b7e44da438e37ffadc441a351c42 on f/plugin3 Seems to cover some basic cases, but not reliably tested yet.

iamdanfox avatar Feb 13 '14 15:02 iamdanfox

Naive union is not completely desirable: if target doesn't fit in the viewport, we must make sure the anno is visible!

(A priority list perhaps?)

iamdanfox avatar Feb 16 '14 17:02 iamdanfox

Worth investigating: (1309 stars) https://github.com/flesler/jquery.scrollTo

Doesn't have :scrollable selector ... would need both.

iamdanfox avatar Feb 16 '14 17:02 iamdanfox