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

When editing a cell, right-click outside the input box to save #10895

Closed
TCOTC opened this issue Apr 5, 2024 · 4 comments
Closed

When editing a cell, right-click outside the input box to save #10895

TCOTC opened this issue Apr 5, 2024 · 4 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Apr 5, 2024

Describe the problem

左键点击弹出输入框之后再右键其他地方,就会呈现一种很奇怪的状态(黄色为左键点击,红色为右键点击):

输入框

Expected result

在输入框外右键点击的效果应该跟在输入框外左键点击的效果一致,都是关闭输入框。

Version environment

- Version: 3.0.7
- Operating System: Win10
- Browser (if used):
@Vanessa219
Copy link
Member

右键有取消的意思,点击了以后如果修改过编辑内容,是否不进行更新。如果不更新可能用户认为丢数据,如果更新,有的用户又可能认为应该取消。所以先不动了。

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 6, 2024

右键有取消的意思,点击了以后如果修改过编辑内容,是否不进行更新

右键哪里来的取消的意思?一般取消都是用 Esc,而编辑数据库时按 Esc 都是会关闭输入框并更新内容的,按右键更没理由不关闭输入框并更新内容。

而且「取消」是没有意义的,毕竟编辑都编辑了,想恢复编辑前的状态只能按 Ctrl+Z 。

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 6, 2024

在 Notion 中,在数据库文本输入框外右键点击,效果是跟左键点击一样的,都会关闭输入框

@Vanessa219
Copy link
Member

那就左键右键点击后都进行保存吧

@Vanessa219 Vanessa219 reopened this Apr 9, 2024
@Vanessa219 Vanessa219 added this to the 3.0.9 milestone Apr 9, 2024
@Vanessa219 Vanessa219 changed the title 在数据库文本输入框外右键点击,应关闭输入框 When editing a cell, right-click outside the input box to save Apr 9, 2024
Vanessa219 added a commit that referenced this issue Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants