Skip to content

Commit 3e90451

Browse files
committed
v0.2.7
1 parent 5def91b commit 3e90451

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
[![NPM](https://img.shields.io/npm/v/react-gallery-carousel.svg)](https://www.npmjs.com/package/react-gallery-carousel)
44

55

6-
## v0.2.6 (2021-12-18)
6+
## v0.2.7 (2021-12-18)
77

88
### Enhancements
99

1010
- Fix "invalid or unexpected token" issue in Next.js.
1111
([Issue #51](https://github.com/yifaneye/react-gallery-carousel/issues/51))
1212

13+
- Remove request to "object Object"
14+
([Issue #52](https://github.com/yifaneye/react-gallery-carousel/issues/52))
15+
1316
## v0.2.6 (2021-12-06)
1417

1518
### Enhancements

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ I have **used and carefully analyzed a lot of carousel/slider components**. I su
4343
13. Some of them disable pinching to zoom, while some others glitch when pinching with 2 fingers. Besides, when the window is zoomed in, most of them still detect for touch swiping to move to the previous, or the next slide, while the intention of most users in this scenario is panning to see other parts of the current slide.
4444
14. Some of them will cause the slides to stuck its position on window resize or on mobile device orientation change, until another user interaction.
4545
15. Some of them can only have predetermined images (i.e. before the carousel component mounts).
46-
16. Most of them do not provide a solution for fallback image (for when an image is not available).
46+
16. Most of them do not provide a solution for fallback/placeholder image (for when an image is not available).
4747
17. Some of them get zoomed in when the user double taps on the control, while the intention of most users in this scenario is to quickly go to the next after the next slide.
4848
18. Some of them remove the left or right button to indicate that there are no more slides in that direction. However, user is likely to click that spot where the button used to be, which causes undesired behaviours e.g. clicking on a link or button which is also at that spot.
4949
19. Some of them use the method of cloning the first, and the last slide to achieve looping (or infinite mode). I think that method is not great semantically.

example/src/components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Footer = () => {
55
return (
66
<footer className='section'>
77
<div className='action-container'>
8-
<strong>react-gallery-carousel (v0.2.6)</strong>
8+
<strong>react-gallery-carousel (v0.2.7)</strong>
99
<div className='star-button-container'>
1010
<GitHubButton
1111
href='https://github.com/yifaneye/react-gallery-carousel'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-gallery-carousel",
3-
"version": "0.2.6",
3+
"version": "0.2.7",
44
"description": "Mobile-friendly Carousel with batteries included (supporting touch, mouse emulation, lazy loading, thumbnails, fullscreen, RTL, keyboard navigation and customisations).",
55
"author": "yifaneye",
66
"license": "MIT",

react-gallery-carousel-nextjs/components/Carousel4.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { useEffect, useState } from 'react';
22
import Carousel from 'react-gallery-carousel';
3-
import 'react-gallery-carousel/dist/index.css';
43

54
const Carousel4 = ({ images }) => {
65
const [dynamicImages, setDynamicImages] = useState([]);

0 commit comments

Comments
 (0)