Comments (10)
I have a bit of experience with Backbone and bootstrap but that was before I wrote this modal plugin unfortunately. I can't think of anything off the top of my head that would cause this besides maybe not using Bootstrap 2.1.0+?
If you have a test page I'd be happy to take a look at it to try and see what's going on.
from bootstrap-modal.
I've just removed bootstrap-modal.js leaving bootstrap-manager.js in place and it started to work, on iphone and desktop. I'm using bootstrap 2.2.0 and backbone 0.9.2.
I can send you the page privately, as it is in early devel stages.
from bootstrap-modal.
hmm.. Do you happen to be using an older version of the plugin? It's my intention that you should be able to just include the files on top of bootstrap and have it just work. I also suspect removing the modal class definition from the bootstrap library would also resolve the problem but like I said, I don't want that to be a requirement.
If you have a private url or page you would like to send me I'd be glad to take a look so let me know.
from bootstrap-modal.
I uploaded a version to google with all the js included:
you will need a google account to log in.
from bootstrap-modal.
According to the source you are using Bootstrap 2.1.1 which is why you are seeing the problem. In version 2.2.0 they changed all the events from being on body to document so right now you are running into some weird issues because modals are being launched twice. If you need to use BS 2.1.1 you can fix the issue with this:
$('body').off('.modal')
from bootstrap-modal.
Damn bootstrap customize page, i just downloaded bootstrap from its site, but the customize page gives you something different !! :( thanks a lot!
from bootstrap-modal.
Glad I could help
from bootstrap-modal.
Seems there is another issue with backbone. Events defined in collections doesn't fire properly when inside a modal. Removing bootstrap-modal.js make it to work.
I use a single button to submit a form via a backbone action and to dismiss the modal. The modal is dismiss appropaitely, but the backbone action does not execute. I'll try to dig more.
from bootstrap-modal.
It could be related to the use of triggerHandler instead of trigger?
from bootstrap-modal.
from bootstrap-modal.
Related Issues (20)
- is there any compatibility issues with select2.js? HOT 1
- Construct ajax query (ie. ajax Contact form)
- can i use this without bootstrap HOT 1
- angular 1.2.* ng-include used inside ui-bootstrap - modal opening page scrolls to top
- Show Modal Without overlay.
- Modal opens with a delay compared to standard BS3 modal
- Use modal with form validation
- body class="modal-open" style="padding-right: 15px" HOT 1
- Modal don't scroll when closing top modal
- The bootstrap dependency is different between github repo and bower repo.
- make collapsable?
- event.relatedTarget()
- How to relocate modal inside into a div
- Publish as NPM package
- Incompatible with Boostrap 4? HOT 4
- when using this with bootbox.js ,the bootbox dialog style was confused HOT 9
- Stackable: Close modal when clicked outside
- Will you upgrade to Bootstrap 4? HOT 1
- event listener for complete loading
- Replaced # with javascript:; in this statement and it worked.
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 bootstrap-modal.