Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Latest commit

 

History

History
14 lines (10 loc) · 485 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 485 Bytes

iframe-modal

Work in progress

This project shows how to make an iframe act like a modal.

The iframe is centralized vertically and horizontally. There is a transparent mask behind the modal (within the iframe). It handles ios8 "position: fixed" issue.

Tested on iOS8 (both Safari and Chrome), android 4.4.4 (Chrome) and Linux/MacOS (Chrome and Safari)

TODO:

  • lightbox blinking on iframe navigation on non SPA case
  • case: modal inside a container, instead of absolute position