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

couds / react-bulma-components / 528
92%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2019 12:55PM UTC
Jobs 1
Files 137
Run time 12s
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
528

push

travis-ci

couds
fix: dropdown close function check if domRef.current (#202)

* fix: dropdown close function check if domRef.current

In Edge 18, if the dropdown is toggled by an external flag controlled by
a click event, the domRef becomes invalid before the event listener is
removed, which leads to this.dom.Ref.current.contains to crash. Simply
checking for this will result in this.setState being called in an
unmounted component.

This PR checks if domRef.current exists and only calls this.setState if
the domRef is still valid. It also uses mount to test the dropdown state
changes.

* Update dropdown.js

164 of 176 branches covered (93.18%)

Branch coverage included in aggregate %.

581 of 583 relevant lines covered (99.66%)

19.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 528.1 07 Oct 2019 12:55PM UTC 0
98.16
Travis Job 528.1
Source Files on build 528
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #528
  • 428937e1 on github
  • Prev Build on master (#526)
  • Next Build on master (#529)
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