Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#250077
Senff
Participant

One workaround seems to be adding a wrapping div inside the sticky one with “transform: translate3d(0%,0,0);”, see https://output.jsbin.com/voxocewehu

Any ideas how clean or dirty this method is?