Comments (6)
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.
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.
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.
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.
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.
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.
closed due to no response by issuer.
from angular-flippy.
Related Issues (15)
- Multiple Flippie's on page they overlap HOT 6
- Flip effect does not work on Internet Explorer 11 HOT 6
- iOS behaviour broken HOT 2
- Suggestion: Play with CSS pointer events could allow for directive to be triggered by inner elements HOT 2
- Merge PRs to fix your bower mainfile HOT 1
- Flip using an element HOT 14
- Gulp Inject Error HOT 6
- Angular 2? HOT 1
- Trigger flip with ngSwipeLeft / ngSwipeRight HOT 2
- Canvas Image HOT 11
- In Firefox flippy-front part does not render correctly HOT 12
- When I set overflow: auto for flippy-front it shows in the Flippy back in reverse HOT 4
- Trying to push branch for pull request HOT 1
- Custom Method for flippy with unique id HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-flippy.