Comments (5)
I don't have access to anything older than IE 11. (well I have plenty of VMs but we tell our clients we don't support IE < 11)
I imagine IE 10 probably isn't too bad since it's not that different from 11. For supported Windows versions you only come across IE 10 if someone's running Windows Server 2012, since Windows 7, 8.1, 10 and Servers 2008 R2, 2012 R2 and 2016 all have IE 11 available. I guess if Windows 8.0 is still in support (??) then it too would be IE 10 only.
I'll keep you posted on anything else I find / fix.
from stickybits.
@IanYates, I will dig into the Codepens ASAP! Thanks for your detailed issue!
from stickybits.
@IanYates there were some minor tweaks I did with the codepen you shared. It appears that stickybits is working correctly and that we just need to modify the html
and css
slightly.
~Btw, thanks for pointing out that the codepens were out of date. I will update that asap.
Here's what I forked for your codepen: https://codepen.io/yowainwright/pen/VWrjVw
—Sorry, in advance, if the forked codepen I made is further from your visual goal.
One last quick note: each Stickybit is sticky relative to its <parent>
. If all Stickybits are in the same <parent>
, that will be an issue—not just with stickybits
but with the css prop position: sticky
. If you want <elements>
to become sticky within 1 <parent>
you might want to use position: fixed
and leverage window
on scroll to set them to fixed—this method has other problems though.
from stickybits.
Hi @yowainwright - thanks so much!
I am looking to have every Stickybit in the one scrolling region parent. The idea is that I've got a scrolling list of document pages (images) and want a header at the top of each image with some text and a couple of buttons, etc. Whilst the image is on-screen I want its heading to still be visible even though perhaps the top 50% of the of image has been scrolled out of view and the next image is partially visible (with its heading at the top of it part of the way down the viewport).
Your updated example seems to support this pretty well. I'll need to read up more on this to see what the pitfalls are. If it's just that the Stickybit <div>
elements pile up at the top and sit underneath each other then I'm OK with that since visually it's still what I'm after.
I can see in Chrome it works amazingly well now. In IE it's a bit glitchy but I'll look into that more when I get some time later this week.
Thanks again!!
from stickybits.
@IanYates no prob! Thanks for the details.
I plan on tackling older IEs soonish. Let me know if you want to help w/ it ...?
from stickybits.
Related Issues (20)
- Sticky useStickyClasses odd behaviour HOT 8
- Position: fixed set on a sticky element early if scrollEl is used HOT 2
- Question: Add class with jquery to other element upon stick? HOT 1
- Initial position stuck? HOT 1
- An in-range update of eslint is breaking the build 🚨 HOT 1
- How to use it in Hype HOT 1
- Override class and style application to manually control how they are applied HOT 1
- Angular example doesn't work with useFixed set to true HOT 1
- Using stickybits.js with webpack 4 HOT 1
- Use
- IE11 Issue HOT 3
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 2
- Stickybits should not add `position:absolute` after scrolling.
- Position absolute update breaks functionality HOT 8
- `noStyles` no longer applying `position` style attributes
- An in-range update of husky is breaking the build 🚨 HOT 2
- Update method not computing scroll offsets
- empty style tag not removed from head on initialisation
- When "stuck" table headers are shifted one pixel to the right HOT 3
- Remove bottom position when element stuck to bottom
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 stickybits.