Added some position: sticky
property to my webpage. On Desktop browser work fine but sucks in mobiles.
Asked
Active
Viewed 1.9k times
16

Vadim Ovchinnikov
- 13,327
- 5
- 62
- 90

Ulukbek Abylbekov
- 449
- 1
- 6
- 19
-
which browser and which version are you testing? – Cezar Augusto Jul 22 '17 at 01:43
-
Safari ios10 and chrome for ios – Ulukbek Abylbekov Jul 22 '17 at 02:21
1 Answers
30
sticky
property for Chrome and Safari for iOS needs to be set with -webkit
vendor first:
.element {
position: -webkit-sticky;
position: sticky;
}
You can check about browser compatibility in canIUse

Cezar Augusto
- 8,794
- 5
- 31
- 36