Skip to content

Commit

Permalink
fix(photo-browser): fix touch-action rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Mar 30, 2023
1 parent a861e12 commit 5850615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/components/photo-browser/photo-browser.less
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
background: var(--f7-photobrowser-bg-color);
transition: 400ms;
transition-property: background-color;
touch-action: pan-x pan-y;
touch-action: none;
}

.photo-browser-prev,
Expand Down Expand Up @@ -248,7 +248,7 @@
background-color: var(--f7-photobrowser-bars-bg-color, rgba(var(--f7-bars-bg-color-rgb), 0.95));
}
.photo-browser-page {
touch-action: manipulation;
touch-action: none;
.navbar,
.toolbar {
transform: translate3d(0, 0, 0);
Expand Down

0 comments on commit 5850615

Please sign in to comment.