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

dowjones / react-dropdown-tree-select / 975
94%

Build:
DEFAULT BRANCH: develop
Ran 03 Apr 2019 03:15AM UTC
Jobs 1
Files 20
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
975

push

travis-ci

mrchief
fix: Prevent dropdown close on expand in Firefox (#231)

## What does it do?

Prevents event bubbling on node expand-click. The function isOutsideClick only gets a short part of two items (li.node + i.expand), then the parents stop, in Firefox. This causes it to be detected as an outside click.

In chrome the path is instead empty and no outside click is therefore detected.

Fixes #198 

Can test here (switching between v1.17/developTemp):
Expand the first two nodes:
![bild](https://user-images.githubusercontent.com/17863113/55436725-5bce8b80-559d-11e9-927d-17149643100c.png)
Scroll to bottom and expand:
![bild](https://user-images.githubusercontent.com/17863113/55436759-6c7f0180-559d-11e9-8bd9-7ad141b5c9ca.png)

https://ellinge.github.io/react-dropdown-tree-select-test/#v117-nocheckeddefault
https://ellinge.github.io/react-dropdown-tree-select-test/#DevelopTemp-nocheckeddefault

There still seems to be some issue with scroll in firefox after initial scroll and expand which does not happen in chrome. The expanded item gets out of view. This also happens on scoll and check.

## Type of change

- [x] Bug fix

192 of 210 branches covered (91.43%)

Branch coverage included in aggregate %.

325 of 335 relevant lines covered (97.01%)

40.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 975.1 03 Apr 2019 03:15AM UTC 0
94.86
Travis Job 975.1
Source Files on build 975
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #975
  • 74393286 on github
  • Prev Build on develop (#967)
  • Next Build on develop (#1025)
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