Skip to content
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

使用 Carousel走马灯 报错 #28183

Closed
1 task
Gaopengyi opened this issue Dec 3, 2020 · 2 comments
Closed
1 task

使用 Carousel走马灯 报错 #28183

Gaopengyi opened this issue Dec 3, 2020 · 2 comments
Labels
🤔 Need Reproduce We cannot reproduce your problem

Comments

@Gaopengyi
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/carousel-cn/

Steps to reproduce

import { Component } from "react";
import { Calendar, Carousel } from "antd";
import "antd/dist/antd.css"
const contentStyle = {
height: '160px',
color: '#fff',
lineHeight: '160px',
textAlign: 'center',
background: '#364d79',
};
export default class AntdCpt extends Component {

render() {
return (





1




2




3




4





)
}
}

What is expected?

正常没有报错

What is actually happening?

一旦滑动走马灯组件,就会出现这个错误 Unable to preventDefault inside passive event listener invocation.

Environment Info
antd 4.9.1
React 17.0.1
System macos11.0.1
Browser chrome

一旦滑动走马灯组件,就会出现这个错误 Unable to preventDefault inside passive event listener invocation.

@xrkffgg xrkffgg added the 🤔 Need Reproduce We cannot reproduce your problem label Dec 3, 2020
@ant-design-bot
Copy link
Contributor

Hello @Gaopengyi. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @Gaopengyi, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@afc163
Copy link
Member

afc163 commented Dec 3, 2020

Fixed in #27957

@afc163 afc163 closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

4 participants