Skip to content

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

Merged
merged 22 commits into from
Feb 25, 2018
Merged

merge dev to master #1020

merged 22 commits into from
Feb 25, 2018

Conversation

laveesingh
Copy link
Contributor

@laveesingh laveesingh commented Feb 19, 2018

In progress

Following are the changes to be mentioned:

  • fixed slideWidth calculation approximation
  • fixed unusual scrolls in focusOnSelect mode
  • added appendDots method for customization of dots
  • modified logic for handling odd/even cases where there were unusual scrolls in opposite direction
  • implemented unslick feature properly
  • fixed variableWidth issues like blank spaces at edges, improper alignment
  • handling focus loss in case of fade=true
  • responsive lazyloading bug fixed
  • increased verticalswiping resistance from 4 to 10

{dots}
</ul>
);
return React.cloneElement(this.props.appendDots(dots), {className: this.props.dotsClass});
Copy link
Owner

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} />

Copy link
Contributor Author

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
Copy link
Owner

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely

@akiran akiran merged commit 9d6fae6 into master Feb 25, 2018
@dijonkitchen
Copy link

FYI, this likely does the following:

Fixes #94
Fixes #221
Fixes #556

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants