Home › Forums › JavaScript › Make element sticky on touch screens only happens after scroll is finished › Reply To: Make element sticky on touch screens only happens after scroll is finished
January 16, 2017 at 4:17 pm
#250085
Participant
I just rewrote an old page where several fixed elements would disappear on Chrome and Opera desktop when scrolling. Fixed that by making them direct children of body.
By doing it like that, wouldn’t you lose your styles (since it’s losing parents)?