Skip to content
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

数据库新建条目时,让输入框与条目的位置一致 #11100

Open
Tracked by #12103
TCOTC opened this issue Apr 21, 2024 · 7 comments
Open
Tracked by #12103

数据库新建条目时,让输入框与条目的位置一致 #11100

TCOTC opened this issue Apr 21, 2024 · 7 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Apr 21, 2024

新建条目时,先等页面更新,再定位到新建的条目上显示输入框。

如果更新页面后新建的条目跑到了可视区域外,则跳转定位到条目(#12022),然后显示输入框。


在思源中,同一个文档存在相同数据库镜像时,新增条目会导致输入框偏移:

数据库

在 Notion 中是等条目新建之后再显示输入框的:(输入文本的时候条目会动,输入框是不动的

default.webm

思源先显示输入框再更新页面,还会导致「创建时间排序后新建行跳动」的问题:

123.webm

关联:https://ld246.com/article/1719195949253

@Vanessa219 Vanessa219 added this to the 3.0.11 milestone Apr 21, 2024
@Vanessa219
Copy link
Member

这个不止这种场景,如果分屏后,新增块也会导致这个问题。

@Vanessa219 Vanessa219 removed this from the 3.0.11 milestone Apr 21, 2024
@TCOTC TCOTC changed the title 同一个文档中存在镜像数据库时,新增条目会导致输入框偏移 输入框应该始终跟随条目 Apr 21, 2024
@TCOTC TCOTC changed the title 输入框应该始终跟随条目 输入框应该始终跟随数据库条目 Apr 21, 2024
@Vanessa219 Vanessa219 added this to the backlog milestone Apr 26, 2024
@TCOTC TCOTC changed the title 输入框应该始终跟随数据库条目 输入框跟随数据库条目移动 Apr 26, 2024
@TCOTC

This comment was marked as outdated.

@TCOTC

This comment was marked as outdated.

@TCOTC TCOTC changed the title 输入框跟随数据库条目移动 输入框位置与数据库条目位置保持一致 May 11, 2024
@TCOTC

This comment was marked as outdated.

@Vanessa219
Copy link
Member

还有排序了的情况:

123.webm

这个和我上面说的不是一类问题, @88250 看一下。

@88250
Copy link
Member

88250 commented May 12, 2024

嗯,在 #11349 中跟进。

@TCOTC TCOTC changed the title 输入框位置与数据库条目位置保持一致 新建条目时,先添加条目更新页面再显示输入框,让位置保持一致 Jul 26, 2024
@TCOTC TCOTC changed the title 新建条目时,先添加条目更新页面再显示输入框,让位置保持一致 新建条目时,让输入框与条目的位置一致 Jul 26, 2024
@TCOTC TCOTC changed the title 新建条目时,让输入框与条目的位置一致 数据库新建条目时,让输入框与条目的位置一致 Jul 26, 2024
@FancyBEAST
Copy link

Similar issue when toggling side bars using hotkeys.

Recording.2024-10-02.234558.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants