Comments (4)
I just discovered by fiddling with IE Developer Tools that setting position: relative;
on the parent element of the PIE-d element fixes the issue. Standard IE craziness! That trick seems to fix 99% of IE CSS issues! I'll see if I can write a minimal demo with the bug.
from pie.
This is the minimal code:
<!DOCTYPE html>
<html>
<head>
<title>PIE test</title>
<style type="text/css">
div.scroller {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
width: 100%;
overflow-y: auto;
}
.pie {
position: relative;
border: 1px solid #000080;
border-radius: 30px;
padding: 10px 16px;
margin: 8px 20px;
-pie-background: linear-gradient(#EDF, #DBE);
behavior: url("pie/PIE.htc");
}
.half-page {
height: 50%;
}
.fix-pie {
/*position: relative;*/
}
</style>
</head>
<body>
<div class="scroller">
<div class="half-page"></div>
<div class="fix-pie">
<p class="pie">Test</p>
<p class="pie">Test</p>
<p class="pie">Test</p>
<p class="pie">Test</p>
</div>
<div class="half-page"></div>
</div>
</body>
</html>
If you uncomment position: relative;
on .fix-pie
scrolling works as expected. In fact, having any ancestor with position: relative;
will fix this scrolling issue.
from pie.
This sounds a lot like issue #88.
from pie.
Quite possibly. In issue #88 what happens after page load if you scroll it back to the top? Is the container correctly positioned then? If not it's a different issue or a different manifestation of the same issue.
from pie.
Related Issues (20)
- Gradient upside down in IE8 (not IE9)
- [enhancement] Add missing bower.json.
- Pie is not working for dynamic content in IE8 HOT 2
- Filter: gardient for IE9 crashes border-radius in IE8 HOT 1
- CSS3Pie Gradients not working on ASPX page but displaying on MVC page HOT 1
- PIE causing hover effect delay in IE8 HOT 1
- Background disappears. At least in IE8 HOT 1
- Box shadown not working in IE8 , IE7 , IE6
- PIE 2 has js errors in IE8 HOT 4
- PIE 2 adds unecessary %22 before and after -pie-load-path HOT 2
- A problem in https protocol
- use PIE with E:hover,It
- use PIE with E:hover, element jitter occurs in IE HOT 2
- JQuery will thrown Error when use PIE. IE
- Feature: CSS3 3D Transformation HOT 5
- missing PIE.htc file HOT 1
- PostCSS plugin for you !!! easy to add PIE in your css HOT 1
- I can't find pie.htc under which folder HOT 1
- PIE don't work in IE8 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 pie.