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

In typography editable mode, pressing the Enter key will execute onEnd twice, and pressing Esc will execute onCancel+onEnd #5696

Closed
1 task done
zhangkx666 opened this issue Jun 11, 2022 · 1 comment
Labels

Comments

@zhangkx666
Copy link

zhangkx666 commented Jun 11, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.6

Environment

vue3 vite windows, chrome

Reproduction link

https://github.com/zhangkx666/typography-bug-demo

Steps to reproduce

  1. click the edit icon of typography to switch to edit mode
  2. press Enter key or Esc

What is expected?

  1. pressing the Enter key execute onEnd
  2. pressing Esc execute onCancel

What is actually happening?

  1. pressing the Enter key will execute onEnd twice
  2. pressing Esc will execute onCancel + onEnd
@github-actions github-actions bot changed the title typography editable模式按回车键会执行两次onEnd,按Esc执行onCancel+onEnd In typography editable mode, pressing the Enter key will execute onEnd twice, and pressing Esc will execute onCancel+onEnd Jun 11, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant