When my targeted .mystickydiv is fixed, the generated sibling <div> (with no classname) created by this plugin also outputs the same left position coordinates as my targeted .mystickydiv.
Shouldn't the position of this nameless <div> be left: 0; instead? Because of it, my page is being unintentionally widened with an awkward horizontal scrollbar because it's adding both left positions together.
Yes, I could add a style overflow:hidden; on the parent <div> or modify this plugin by changing rst.left = styles.left; to rst.left = "0"; but I was curious if it might be a fault on my end.
When my targeted
.mystickydiv
is fixed, the generated sibling<div>
(with no classname) created by this plugin also outputs the same left position coordinates as my targeted.mystickydiv
.Shouldn't the position of this nameless
<div>
beleft: 0;
instead? Because of it, my page is being unintentionally widened with an awkward horizontal scrollbar because it's adding both left positions together.Yes, I could add a style
overflow:hidden;
on the parent<div>
or modify this plugin by changingrst.left = styles.left;
torst.left = "0";
but I was curious if it might be a fault on my end.By example, my results look like this: