docs(Popover): add fastclick faq (#8737)

* docs(Popover): add fastclick faq

* docs: upd
This commit is contained in:
neverland 2021-05-21 18:04:39 +08:00 committed by GitHub
parent 92f44ea152
commit 5c99ded59d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,3 +285,9 @@ export default {
| @popover-dark-text-color | `@white` | - |
| @popover-dark-background-color | `#4a4a4a` | - |
| @popover-dark-action-disabled-text-color | `@gray-6` | - |
## 常见问题
### Popover 的点击事件无法正确触发?
这种情况通常是由于项目中引入了 `fastclick` 库导致的。建议移除 `fastclick`,或者配置 `fastclick` 的 [ignore 规则](https://github.com/ftlabs/fastclick#advanced)。