Coder Social home page Coder Social logo

Iframe Scroll Not working about izimodal HOT 8 OPEN

marcelodolza avatar marcelodolza commented on July 18, 2024
Iframe Scroll Not working

from izimodal.

Comments (8)

marcelodolza avatar marcelodolza commented on July 18, 2024

@iamchetanp , could you create a pen with your example?

from izimodal.

iamchetanp avatar iamchetanp commented on July 18, 2024

Hi I did not have used codepen, I tried to create but I can not setup using codepen. I can share my URL.

http://dev.chetanprajapati.com/chetanp/

In footer you will find Modal Popup button. That is Modal with iFrame.

from izimodal.

iamchetanp avatar iamchetanp commented on July 18, 2024

@Dolce any luck on this to fix issue?

from izimodal.

shannonschaerer avatar shannonschaerer commented on July 18, 2024

Anyone have any luck? We seem to be having a similar problem as well.

https://app.kraftplatz.gmbh/create#modal-agb

from izimodal.

marcelodolza avatar marcelodolza commented on July 18, 2024

@iamchetanp , I did not find the button in the footer.
But I ask you both to try this solution: https://davidwalsh.name/scroll-iframes-ios
If it works, I'll add it to the next update.

from izimodal.

shannonschaerer avatar shannonschaerer commented on July 18, 2024

@Dolce I've tried that but can't seem to get it to work.

Edit
It does seem to work but not only are the scrolling styles important, the positioning styles are important as well. This is what I did.

.iziModal-content
{
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	top: 0;
	-webkit-overflow-scrolling: touch;
	overflow-y: scroll;
}

I haven't pushed it live, but it is working on the X-Code Simulator.

from izimodal.

swashata avatar swashata commented on July 18, 2024

After much hit and trial I have figured out that the scrolling will work, if the .iziModal-content has the height property set. It should same as the iframe, which is being set by iziModal anyway. So

.iziModal-content { overflow: auto !important; -webkit-overflow-scrolling: touch !important; height: 300px !important; }

Now I am trying to dynamically set the height of the said div without touching the core. @Dolce any help is appreciated.

from izimodal.

swashata avatar swashata commented on July 18, 2024

My bad as it seems has been fixed on the latest version. Thank you @Dolce

from izimodal.

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.