Basic use
example.css
.map {
touch-action: none;
}
The touch-action property decides which touch gestures the browser may handle on an element. Use it for custom pointer interactions and map-like surfaces.
.map {
touch-action: none;
}.map {
touch-action: none;
}touch-action is a CSS property.
Check support for your audience.
Bottom line: Prefer progressive enhancement when support varies.
Continue with will-change.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
4 people found this page helpful