Git Product home page Git Product logo

Comments (6)

zwacky avatar zwacky commented on June 24, 2024

hey @adyba, I can't say I fully understand.
Dou you maybe have a codepen/plunkr/xyz for me to look at?

from angular-flippy.

adyba avatar adyba commented on June 24, 2024

Well my solution works only for Ionic. I'm (ab)using $ionicView.enter event that is fired after all the DOM of the controller is properly rendered so I don't have the good solution for a "naked" Angular.

To describe the problem I did my best to draw a picture to explain it.
flippy
The dark blue rectangle is your <flippy> element that has inherit (in reality ZERO) height.
It's content <flippy-front> and <flippy-back> overflows the <flippy> and does all the magic.

Unfortunately any further content (the red rectangle) is displayed just after the <flippy> and thus possibly hidden behind the overflowing content. Once you know the real height of the content (front&back) there is no issue. But once the content is dynamic you are in trouble.

I believe there must be a CSS solution (clearfix, clear:both) but all my attempts failed. I'm anything but no CSS expert so I have used oldschool JS.

from angular-flippy.

zwacky avatar zwacky commented on June 24, 2024

I still didn't understand your issue completely 😓. If you could create a tiny codepen/plunkr/jsbin for just this case would help a lot.

from angular-flippy.

adyba avatar adyba commented on June 24, 2024

Just put a <div id=" style="border: red 3px solid;">Can you see me?</div> just after the </flippy> in you jsbin example and you will find what I mean. Once the width of the output viewport is narrow like on mobile, the content of flippy covers the red div completely.

from angular-flippy.

zwacky avatar zwacky commented on June 24, 2024

you mean like http://jsbin.com/fusoyizuya/1/edit?html,js,output ?

In that case, you could put the display: inline-block; style and it won't be overlapped by flippy itself.
Did I understand the issue now?

from angular-flippy.

zwacky avatar zwacky commented on June 24, 2024

closed due to no response by issuer.

from angular-flippy.

Related Issues (15)

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.