-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
transfer 搜索时 不能正确显示搜索结果 #5631
Comments
Try It will be better to write your issue/comment in English, so more people can understand you. And this means that more people can help you or benefit from your issue/comment. See: #4897 |
@benjycui I try lazy=false,but it will cause performance problem. |
Oops.... |
Let's try to fix this first. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Version
2.9.0
Environment
codepen环境
Reproduction link
http://codepen.io/yuecjnadt/pen/dvLRPm?editors=0010
Steps to reproduce
搜索222时,搜索出一个结果但是不显示
What is expected?
显示content222
What is actually happening?
空的显示框
定位后发现是react-lazy-load的问题
https://github.com/loktar00/react-lazy-load/blob/master/src/utils/inViewport.js#L30 这行代码在搜索时 定位到的element还未重新渲染(还是未搜索时的dom节点)
The text was updated successfully, but these errors were encountered: