We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这里的currentSlide !== this.state.currentSlide永远不会成立 const { currentSlide } = this.state;
this.setState({ currentSlide: Math.min(Math.max(index, 0), this.len - 1), }); // eslint-disable-next-line react/destructuring-assignment if (currentSlide !== this.state.currentSlide) { this.slideToCurrent(); onChange.call(this); if (callback) { callback.call(this); } }
The text was updated successfully, but these errors were encountered:
Carousel 组件已经用 hooks 重构了,你说的问题已不存在
Sorry, something went wrong.
Merge pull request alibaba#15 from nauxliu/fix-converstaion-context
240185c
Correct the improper context being used when it exceeds the limit.
No branches or pull requests
这里的currentSlide !== this.state.currentSlide永远不会成立
const { currentSlide } = this.state;
The text was updated successfully, but these errors were encountered: