Skip to content

fixbug 在单元格不可编辑时阻止输入事件并保持原始文本值 #736

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hennychen
Copy link

当单元格被标记为不可编辑时( cell.editable === false ), setCell 方法会直接返回而不设置文本。然而, inputEventHandler 中对于不可编辑单元格的处理只是重置输入框的值,这可能导致第一个字符输入时出现异常行为。

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

Successfully merging this pull request may close these issues.

1 participant