-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
merge dev to master #1020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge dev to master #1020
Conversation
this should discard the possibility of creation of unwanted multiple rows
fixed random whitespaces at the beginning or end fixed alignment issues in centerMode=true and centerMode=false
{dots} | ||
</ul> | ||
); | ||
return React.cloneElement(this.props.appendDots(dots), {className: this.props.dotsClass}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laveesingh Do we need cloneElement here ?
We can do some thing like this
const AppendDots = this.props.appendDots
return <AppendDots className={this.props.dotsClass} />
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try and replace that.
break; | ||
|
||
case 'right': | ||
case 'up': | ||
newSlide = this.state.currentSlide - this.getSlideCount(); | ||
slideCount = this.props.swipeToSlide ? this.checkNavigable(newSlide) : newSlide; | ||
this.state.currentDirection = 1; | ||
// this.state.currentDirection = 1; // critical: change this line with setState statement | ||
this.setState({ currentDirection: 1 }) // unverified fix of above line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laveesingh Can you test this case and remove the unverified comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely
In progress
Following are the changes to be mentioned: