[Bug]: Typing In a Sorted Table View Fails
What happened?
I have a table view that is sorted on the Name/Title field.
I add a row and type into that field inline in the grid (not opening an expanded view). As I type, the row moves around based on the sorting. However, when the row moves, the row stops accepting my input and I must refocus into that field to resume typing.
Distribution version
Windows x64
App Version
0.25.5
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
- [x] Yes
Self-hosting Version
0.25.5
Relevant log output
Anything else?
No response
Issue Status: 🆕 *Untriaged
*🆕 Untriaged
The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md
This is an automatic reply by the bot.
OK, so it only happened for that one row. Not sure why. And when I switched pages, then returned, that row started acting fine again.
I think I can see the issue in the browser as well. If you just select a cell, then type, it will automatically sort by the first character you typed and shift the focus away. However, if you double-click/tap on a cell so that you get a cursor inside, it will let you write and then sort only once you leave the cell.