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

reactjs / react-modal / 660
85%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2017 10:48PM UTC
Jobs 1
Files 10
Run time 1s
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
660

push

travis-ci

diasbruno
[fixed] shouldFocusAfterRender and shouldReturnFocusAfterClose flags.

Both options should work independent.

If shouldFocusAfterRender and shouldReturnFocusAfterClose are true,
the default behavior, it should focus the modal when open and return
the focus to the previous element when close.

If shouldFocusAfterRender is false and shouldReturnFocusAfterClose is true
should be the same as both option true - noop.

If shouldFocusAfterRender is true and shouldReturnFocusAfterClose is false,
then we focus the modal when open and on close we just pop the previous active
element from the focus manager.

198 of 341 branches covered (58.06%)

5 of 5 new or added lines in 2 files covered. (100.0%)

340 of 410 relevant lines covered (82.93%)

25.54 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
8
100.0
src/helpers/focusManager.js
10
100.0
src/components/ModalPortal.js
Jobs
ID Job ID Ran Files Coverage
1 660.1 06 Nov 2017 10:48PM UTC 0
82.93
Travis Job 660.1
Source Files on build 660
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #660
  • 3c86e2d6 on github
  • Prev Build on master (#657)
  • Next Build on master (#662)
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