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

fixed cursor when we triple click on text and type over it #4862 #4868

Merged
merged 4 commits into from
Mar 7, 2022

Conversation

sennpang
Copy link
Contributor

@sennpang sennpang commented Mar 7, 2022

Description
fixed cursor when we triple click on text and type over it

Issue
Fixes: (bug when we triple click on text and type over it #4862)

Example
Before:
QQ20220307-123057-HD

current:
QQ20220307-123140-HD

Checks

  • The new code matches the existing patterns and styles.
  • [ ✅] The tests pass with yarn test.
  • [ ✅] The linter passes with yarn lint. (Fix errors with yarn fix.)
  • [ ✅] The relevant examples still work. (Run examples with yarn start.)
  • You've added a changeset if changing functionality. (Add one with yarn changeset add.)

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2022

🦋 Changeset detected

Latest commit: 661279a

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dylans dylans merged commit 7499d4b into ianstormtaylor:main Mar 7, 2022
@github-actions github-actions bot mentioned this pull request Mar 7, 2022
@sennpang sennpang deleted the fixed4862 branch March 8, 2022 07:37
DougReeder pushed a commit to DougReeder/slate that referenced this pull request Apr 3, 2022
…ylor#4862 (ianstormtaylor#4868)

* fixed cursor when we triple click on text and type over it

* fixed

* fixed

* Add changeset

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
jameshfisher added a commit to jameshfisher/slate that referenced this pull request Oct 12, 2022
…rmtaylor#5153)

This reverts commit 7499d4b.

The issue reported at ianstormtaylor#4862
is a valid complaint, but change in ianstormtaylor#4868
is not an appropriate fix. It is a serious breaking change,
reported as bug: ianstormtaylor#5153

We should therefore revert the change. If we wish to fix Chromium's
triple-click bug, we should do so by unhanging the selection when it is
created; not by changing insertText behavior.
dylans pushed a commit that referenced this pull request Oct 12, 2022
…#5154)

This reverts commit 7499d4b.

The issue reported at #4862
is a valid complaint, but change in #4868
is not an appropriate fix. It is a serious breaking change,
reported as bug: #5153

We should therefore revert the change. If we wish to fix Chromium's
triple-click bug, we should do so by unhanging the selection when it is
created; not by changing insertText behavior.
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.

2 participants