GithubHelp home page GithubHelp logo

not responsive on mobile about bootstrap-modal HOT 2 CLOSED

jschr avatar jschr commented on July 21, 2024
not responsive on mobile

from bootstrap-modal.

Comments (2)

sidcool1234 avatar sidcool1234 commented on July 21, 2024

I tried it on my Google Nexus S - Chrome Browser using Android 4.1.1.

Except the "Static Background with Animation" Modal dialog, others worked fine.

In case of "Static Background with Animation", if I hit the "Cancel" or "Continue" buttons, the modal dialogue shakes but doesn't close.

from bootstrap-modal.

jschr avatar jschr commented on July 21, 2024

I'm not sure what you mean by "this isn't responsive". Personally, I find that having the modal-body scroll for smaller devices a poor responsive experience. Consider a phone in landscape mode, there is almost no space for what's most important, the content of the modal. Having the header and footer fixed to me just takes up too much valuable real-estate.

You can still have modal-body scroll for long modal's in "desktop view" but this will be overwritten when in tablet/phone view.

As for devices that do not support fixed positioning, my understanding is that this is mostly a concern for Andriod devices with version < 2.0 but I may be wrong. I initially intended to support a absolute based modal when I first wrote the plugin but the code quickly became unmanageable, not to mention I don't believe I could make long modals work properly. For this reason and a couple others, I took out the support for an absolute based modal.

Unless there is a simpler patch that can be made to this plugin I would rather redirect people to your project if that feature is truly desired.

@sidcool1234 I do not have access to an andriod device atm but I will take a look at this issue. It does seem odd that the buttons do not work for only this particular case so I will investigate it.

Thanks

from bootstrap-modal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.