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

react-component / trigger / 323
76%
master: 78%

Build:
Build:
LAST BUILD BRANCH: 3.0.0
DEFAULT BRANCH: master
Ran 13 Aug 2018 10:20AM UTC
Jobs 1
Files 5
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
323

Pull #96

travis-ci

web-flow
Add close popup when click iframe for `click` trigger

Using Trigger with `contextMenu` supports closing on window blur, in order to cover when a user clicks/taps on an iframe, but when we use `click` as a trigger, this was previously not supported.

This fix modifies the handler to support both click and contextMenu as valid triggers.

* simulates document click on window blur for both click and contextMenu triggers
* `contextMenuOutsideHandler1` renamed to `contextMenuScrollOutsideHandler` to be more descriptive about what case it is handling.
* `contextMenuOutsideHandler2` renamed to `clickBlurOutsideHandler` since it is the handler for click and contextMenu triggers (similar to `clickOutsideHandler`)
Pull Request #96: Add close popup when click iframe for `click` trigger

10 of 10 new or added lines in 1 file covered. (100.0%)

275 of 360 relevant lines covered (76.39%)

48.25 hits per line

Jobs
ID Job ID Ran Files Coverage
3 323.3 (TEST_TYPE=coverage) 13 Aug 2018 10:20AM UTC 0
76.39
Travis Job 323.3
Source Files on build 323
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #323
  • Pull Request #96
  • PR Base - master (#317)
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

© 2025 Coveralls, Inc