Skip to content

Commit a382c65

Browse files
authored
Add ability to long-tap to zoom in carousel (#85)
* Add ability to long-tap to zoom in carousel * Version bump
1 parent bb9e82c commit a382c65

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-storefront",
3-
"version": "8.1.0",
3+
"version": "8.2.0",
44
"description": "Build and deploy e-commerce progressive web apps (PWAs) in record time.",
55
"module": "./index.js",
66
"license": "Apache-2.0",

src/carousel/Media.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export default function Media({
2828
alt,
2929
magnify,
3030
sources,
31-
poster,
3231
type = 'image',
3332
}) {
3433
const classes = useStyles()

src/carousel/MediaCarousel.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ function MediaCarousel(props) {
281281
onLoad={i === 0 ? onFullSizeImagesLoaded : null}
282282
magnifyProps={magnifyProps}
283283
{...item}
284-
magnify={isTouchScreen ? undefined : item.magnify}
285284
src={get(item, 'magnify.src', item.src)}
286285
imageProps={
287286
lightboxActive && !isTouchScreen

0 commit comments

Comments
 (0)