Giter Site home page Giter Site logo

Modal breaks on mobile about remodal HOT 6 CLOSED

vodkabears avatar vodkabears commented on July 16, 2024
Modal breaks on mobile

from remodal.

Comments (6)

vodkabears avatar vodkabears commented on July 16, 2024

@philip100 what's the version of iOs? 5.1 and less?

from remodal.

philip100 avatar philip100 commented on July 16, 2024

Yes, it's exactly 5.1.
Didn't upgrade it, but as soon as I get a while I'll check with the newest iOS compatible with my 4s.

Kindly,
Artur.

from remodal.

vodkabears avatar vodkabears commented on July 16, 2024

@philip100 that because of position: fixed property of the overlay. Old mobile systems don't support fixed property.

from remodal.

philip100 avatar philip100 commented on July 16, 2024

You're right.
Seems to works fine on iOS7
Is there any workaround for the older platforms?

from remodal.

vodkabears avatar vodkabears commented on July 16, 2024

@philip100 yes. Use position: absolute instead of position: fixed for the overlay on small screen devices, any styles can be changed via CSS, for other devices make it fixed via media queries. Of course you will need to change some additional css properties like body and html height to 100%.

from remodal.

philip100 avatar philip100 commented on July 16, 2024

Ok, thanks mate. I'll look closer at this.
Nice work, though :)

from remodal.

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.