• csillag's avatar
    Refactor / fix scrolling. · 025cc7ea
    csillag authored
    EnhancedAnchoring plugin:
     - add `getAnchors()` method
     - add `scrollIntoView()` method
     - move some code from the bucket-bar
    
    TextHighlight plugin:
     - get rid of padded scrolling
     - scrollIntoView() no returns a promise
    
    Other:
     - When we click on an annotation card in the sidebar, we need to
       go to the anchor in the document. However, the highlight might
       not exist at this point, so we should look for the Anchor instead.
       So now we call `scrollIntoView()` onthe anchor.
     - The same goes when we click the arrows on the bucket bar
     - Rename `scrollTo` to `scrollIntoView` everywhere.
    025cc7ea
Name
Last commit
Last update
..
account Loading commit data...
annotator Loading commit data...
directives Loading commit data...
helpers Loading commit data...
session Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
annotation-mapper-service.coffee Loading commit data...
annotation-sync.coffee Loading commit data...
annotation-ui-service.coffee Loading commit data...
annotation-ui-sync.coffee Loading commit data...
app.coffee Loading commit data...
auth-service.coffee Loading commit data...
bridge.coffee Loading commit data...
controllers.coffee Loading commit data...
cross-frame-service.coffee Loading commit data...
directives.coffee Loading commit data...
discovery.coffee Loading commit data...
filters.coffee Loading commit data...
flash-service.coffee Loading commit data...
guest.coffee Loading commit data...
host.coffee Loading commit data...
identity-service.coffee Loading commit data...
permissions-service.coffee Loading commit data...
searchfilters.coffee Loading commit data...
services.coffee Loading commit data...
store-service.coffee Loading commit data...
streamer-service.coffee Loading commit data...
streamsearch.coffee Loading commit data...
threading-service.coffee Loading commit data...