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
项目用到了Material-ui,经测试发现点击按钮之后水滴涟漪效果不会恢复,如果多次点击,会叠加颜色。
效果和下面这个图差不多:
同时控制台出现了fastclick的错误信息:
这是Material-ui issue 下的讨论:mui/material-ui#7537
所以我想确认是不是fastclick引起的该BUG,如果直接在umi-build-dev依赖包中移除fastclick,那么umi dev后会报错,可能其中有一些代码用到了这个包,如何测试这个BUG,或者如何移除fastclick 呢?
The text was updated successfully, but these errors were encountered:
https://umijs.org/zh/plugin/umi-plugin-react.html#fastclick
在 umi-plugin-react 的配置里设置
fastclick: false
Sorry, something went wrong.
@boxcc
我没有安装umi-plugin-react(umi版本是1.3的,不是2),这个配置得先安装umi-plugin-react包吧、
@shangdev v1的这样设置 https://v1.umijs.org/config/#disablefastclick
No branches or pull requests
What happens?
项目用到了Material-ui,经测试发现点击按钮之后水滴涟漪效果不会恢复,如果多次点击,会叠加颜色。
效果和下面这个图差不多:
同时控制台出现了fastclick的错误信息:
这是Material-ui issue 下的讨论:mui/material-ui#7537
所以我想确认是不是fastclick引起的该BUG,如果直接在umi-build-dev依赖包中移除fastclick,那么umi dev后会报错,可能其中有一些代码用到了这个包,如何测试这个BUG,或者如何移除fastclick 呢?
Context
The text was updated successfully, but these errors were encountered: