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

helpscout / blue / 456
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 27 Oct 2017 07:34PM UTC
Jobs 1
Files 112
Run time 3min
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
456

push

travis-ci

ItsJonQ
Dropdown: Simplify positioning

This update simplifies the positioning calculations used by the Dropdown
component (more accurately, the Drop.Positioner component).

The adjusted positions are similar to the ones available in other
Dropdown libraries, like Bootstrap.

This is a temporary "downgrade", until I can implement the 12/16-point
positioning system, that we can leverage for Tooltips and Popovers.

For now, the Drop.Positioner calculations only benefit Dropdown.

Note: Up/down recalcuation is still available. However, left/right
recalculations have been removed.

**Bug fixes**

The DropdownMenu has also been enhanced to only `scrollIntoView` if the
Scrollable component has a scrollbar. This is to resolve that function
forcing the window to scroll.

1059 of 1060 branches covered (99.91%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 3 files covered. (100.0%)

1627 of 1628 relevant lines covered (99.94%)

108.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/components/Dropdown/Menu.js
Jobs
ID Job ID Ran Files Coverage
1 456.1 27 Oct 2017 07:34PM UTC 0
99.93
Travis Job 456.1
Source Files on build 456
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #456
  • 75f5566e on github
  • Next Build on dropdown/simplify-positioning (#457)
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

© 2025 Coveralls, Inc