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

reactjs / react-modal / 660 / 1
85%
master: 85%

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

06 Nov 2017 10:45PM UTC coverage: 82.927% (-0.4%) from 83.333%
660.1

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%)

340 of 410 relevant lines covered (82.93%)

25.54 hits per line

Source Files on job 660.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 660
  • Travis Job 660.1
  • 3c86e2d6 on github
  • Prev Job for on master (#657.1)
  • Next Job for on master (#662.1)
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