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

wxsms / uiv / 1030
89%
master: 95%

Build:
Build:
LAST BUILD BRANCH: 1.x
DEFAULT BRANCH: master
Ran 12 Nov 2019 06:29AM UTC
Jobs 1
Files 50
Run time 4s
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
1030

push

travis-ci

wxsms
Model Backdrop was "click", now "mousedown" (#304)

* Model Backdrop was "click", now "mousedown"

As mentioned in #285 when someone starts a click event inside the modal content area, and then releases it outside, in the backdrop, the modal hides. This is a frustrating issue when selecting text in the modal, as I often do. This only happens in chrome and is also an issue in bootstrap jquery itself. 

This is the simplest possible fix - replacing @click.self with @mousedown.self. This avoids the weird chrome behaviour.

* Changed MessageBox to use mousedown

'should be able to set alert backdrop to true' was sending click event, which unfortunately excludes mousedown. Changed it to send the full event sequence (mousedown,mouseup, click) for maximum generality.

* Modal.spec.js - Mousedown changes.

Changed backdrop click tests to send the full event sequence (mousedown, mouseup, click) rather than just click.

959 of 1074 branches covered (89.29%)

1564 of 1645 relevant lines covered (95.08%)

974.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1030.1 12 Nov 2019 06:29AM UTC 0
95.08
Travis Job 1030.1
Source Files on build 1030
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1030
  • 1457bf37 on github
  • Prev Build on dev (#1026)
  • Next Build on dev (#1031)
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