Skip to content

Commit 5850615

Browse files
committed
fix(photo-browser): fix touch-action rules
1 parent a861e12 commit 5850615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/components/photo-browser/photo-browser.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
background: var(--f7-photobrowser-bg-color);
174174
transition: 400ms;
175175
transition-property: background-color;
176-
touch-action: pan-x pan-y;
176+
touch-action: none;
177177
}
178178

179179
.photo-browser-prev,
@@ -248,7 +248,7 @@
248248
background-color: var(--f7-photobrowser-bars-bg-color, rgba(var(--f7-bars-bg-color-rgb), 0.95));
249249
}
250250
.photo-browser-page {
251-
touch-action: manipulation;
251+
touch-action: none;
252252
.navbar,
253253
.toolbar {
254254
transform: translate3d(0, 0, 0);

0 commit comments

Comments
 (0)