Apparently, if you have an element with a CSS transform applied to it, and try to put an element inside of it with position: fixed;
, that element acts like an element with position: absolute;
instead of fixed.
See the Pen transform's effect on position: fixed by Cameron Spear (@CWSpear) on CodePen
This only took me like an hour to figure out...
Hope I can save someone the trouble!