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

callemall / material-ui / 8519
66%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2017 02:56PM UTC
Jobs 1
Files 138
Run time 11s
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
8519

Pull #8925

travis-ci

web-flow
fix(BottomNavigation): allow `null` child

Prior to this commit, the `BottomNavigation` component would
fail to render if it contains a `null` child:

	TypeError: Cannot read property 'props' of null

This is because the component tries to 'preprocess' every
child, and expects every child to have `props` (see `preparedChildren`).
There are however, cases where the child is `null`, and an error will
be thrown in such cases.

It may be `null` in cases where a user would like a navigation item
to be 'hidden' if certain conditions are not fulfilled (rather
than being disabled).

This bug is not a problem in the `v1-beta` branch, but the fix
has not been applied to `master` (as of this commit, v0.19.x).

---

Closes #8859
Pull Request #8925: fix(BottomNavigation): allow `null` child

1703 of 3291 branches covered (51.75%)

3456 of 5216 relevant lines covered (66.26%)

45.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8519.1 31 Oct 2017 02:56PM UTC 0
66.26
Travis Job 8519.1
Source Files on build 8519
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8519
  • Pull Request #8925
  • PR Base - master (#8518)
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