Closed jacobshutty closed 5 years ago
@jacobshutty sorry about the issue you're having
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<style>
.sticky-thing {
width: 100%;
height: 20px;
background-color: aquamarine;
}
body {
height: 10000px;
}
</style>
</head>
<body>
<div class="sticky-thing"></div>
<script src="https://unpkg.com/stickybits@3.5.7/dist/stickybits.min.js"></script>
<script>
stickybits(".sticky-thing");
</script>
</body>
</html>
Does that code snippet help you?
Thanks, Jeff
Although codepen's editor does not support IE, you can still go to the view-only URLs in IE. Create the pen in a different browser, then click on "Change View" in the upper-right and select "Full Page". Copy that URL into IE to test there. If I import stickybits 3.5.7 and paste in your div and CSS, it works in IE for me.
Editor View: https://codepen.io/Jon-Senchyna/pen/yQvVJV Full Page View (loads in IE): https://codepen.io/Jon-Senchyna/full/yQvVJV
I know there have been quite a few IE issues opened, but I've been trying to get it to work on even a basic level in IE for hours.
I would post a codepen, but codepen doesn't work in IE. Which means I wasn't able to try out any of your examples either.
Here is my code. You can paste it as an html file and open it. I'm using IE 11, and the latest version of stickybit (3.5.7).