bvaughn / react-window

React components for efficiently rendering large lists and tabular data
https://react-window.now.sh/
MIT License
15.72k stars 782 forks source link

A bug about using autofocus #660

Closed special-wen closed 2 years ago

special-wen commented 2 years ago

It works perfectly fine when not adding autoFocus. However, when autoFocus property is added, I just found this situation as displayed in video.

Please check out this video for detailed bug info:

https://user-images.githubusercontent.com/27426408/181714174-f2753779-fbf1-47ca-8fed-013bd3c9a9f4.mp4

gaoyuan1223m commented 2 years ago

I also encountered the same problem. I really desire the Virtual List that support editing in autofocus input.

hope and appreciate @davidgarsan feedback~~~