Comments (6)
@jackysee ack -- I fear this behaviour is a causality of the rewrite. Are you able to work around this issue by passing modal: true to the second modal? E.g. http://plnkr.co/edit/rzRgCD0fgPWRR3YWx2EE?p=preview
from jqmodal.
Actually I'm using an much older version with the same problem. I'm seeking to see if the latest version can have this fix. The requirement is that the second modal can be discarded by clicking outside.
from jqmodal.
Got it. One way would be to override the
from jqmodal.
I happened to patch fix the old version such that it will allow key/mouse events on higher layer. Don't know if this can apply to the rewrite version.
http://plnkr.co/edit/X2j1wKNnxTITHNrgdUO0?p=preview
from jqmodal.
Try to apply the logic to the rewrite version. Demonstrated here: http://plnkr.co/edit/93nfFuMG781Y0vVIf5UF?p=preview
Created a pull request: #11
from jqmodal.
@jackysee This was actually a very simple z-index issue. See:
http://plnkr.co/edit/dZ3dzir9QLNhUmgYEF7p?p=preview
I've also updated jqModal to 1.2.0 and pass the event along to the focus func, so things are fancy and flexible. For instance, see:
http://plnkr.co/edit/xsQX4v2Bo3Uqb6QML5Mh?p=preview
This should allow you to do anything you want.
Hope this helps!
from jqmodal.
Related Issues (19)
- h is undefined when used with "use strict"; HOT 1
- Cannot type into text input on jqModal dialog when modal set to true HOT 2
- A suggestion: Expose ActiveModals collection HOT 1
- How to cancel a click HOT 1
- Buttons don't work on iPad HOT 2
- jQuery parameter problems HOT 1
- No version provided in package.json HOT 1
- Close modal AJAX doesn't work HOT 5
- Errors on pages with multiple forms
- modal focus issues (with patch) HOT 1
- Browser compatibilities HOT 1
- Attaching functionality to the modal's trigger
- focus on first input does not work when "closeOnEsc=true" HOT 3
- double click error HOT 1
- jqmodal ajax HOT 1
- no images / css for examples - http://jquery.iceburg.net/jqModal/#examples HOT 1
- to top does not properly append to body in ie8. HOT 1
- ios8 compatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jqmodal.