• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TryGhost / Ghost-Admin / 3859
70%

Build:
DEFAULT BRANCH: master
Ran 24 May 2018 12:41PM UTC
Jobs 1
Files 411
Run time 26s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3859

push

travis-ci

web-flow
✨ Koenig - Keep cursor on screen when typing or moving via keyboard (#1012)

refs https://github.com/TryGhost/Ghost/issues/9505
- when cursor changes through the normal `cursorDidChange` or through certain programmatic changes we trigger a check to see if the cursor is out of the viewport and scroll it into view if necessary
- disable our scroll-into-view routine if the mouse button or shift key is down so that we don't interfere with default browser behaviour which works well in that situation
- for scroll-into-view at the bottom there are two slightly different methods
    - if the cursor is near the bottom of the document we scroll so that the bottom padding of the editor is visible
    - if the cursor is mid-document then we scroll just enough to bring the cursor into the viewport

1815 of 2870 branches covered (63.24%)

4173 of 5776 relevant lines covered (72.25%)

47.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3859.1 24 May 2018 12:41PM UTC 0
72.25
Travis Job 3859.1
Source Files on build 3859
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3859
  • 36a4c7dd on github
  • Prev Build on master (#3853)
  • Next Build on master (#3860)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc