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

fix(rikaicontent): Properly check for text areas and input elements when deciding to save cursor information on mousedown #1282

Merged
merged 3 commits into from
Nov 17, 2022

Conversation

melink14
Copy link
Owner

@melink14 melink14 commented Nov 17, 2022

The previous logic required the text box to be in a <form> element which is not often true.

A follow up to this should be to also handle other cases like content: editable. I'm not sure how that works now though so maybe it's fine.

Also, update the timeout for data_test.ts since it wasn't long enough to complete on the normal Github Codespace.

The previous logic required the text box to be in a `<form` element which is not often true.

A follow up to this should be to also handle other cases like `content: editable`. I'm not sure how that works now though so maybe it's fine.

Also, update the timeout for data_test.ts since it wasn't long enough to complete on the normal Github Codespace.
@codecov
Copy link

codecov bot commented Nov 17, 2022

Codecov Report

Merging #1282 (d77d7bd) into main (624c786) will increase coverage by 0.52%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1282      +/-   ##
==========================================
+ Coverage   79.10%   79.62%   +0.52%     
==========================================
  Files           7        7              
  Lines        3001     3004       +3     
  Branches      186      188       +2     
==========================================
+ Hits         2374     2392      +18     
+ Misses        622      607      -15     
  Partials        5        5              
Impacted Files Coverage Δ
extension/rikaicontent.ts 75.89% <100.00%> (+1.10%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@melink14 melink14 changed the title fix(types): Change detect of text boxes to be more explicit fix(rikaicontent): Properly check for text areas and input elements when deciding to save cursor information on mousedown Nov 17, 2022
@melink14 melink14 added the self-approved Label which allows mergify to approve owner's PRs label Nov 17, 2022
Copy link
Contributor

@mergify mergify bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

melink14 says it's fine so it must be fine!

@mergify mergify bot merged commit 51d5ecc into main Nov 17, 2022
@mergify mergify bot deleted the melink14/fix-ev-target-type branch November 17, 2022 09:00
melink14 pushed a commit that referenced this pull request Nov 21, 2022
## [2.4.28](v2.4.27...v2.4.28) (2022-11-21)

### Bug Fixes

* **dict:** Update dictionaries to latest versions ([#1286](#1286)) ([0a8c9c8](0a8c9c8))
* **rikaicontent:** Properly check for text areas and input elements when deciding to save cursor information on mousedown ([#1282](#1282)) ([51d5ecc](51d5ecc))
@melink14
Copy link
Owner Author

🎉 This PR is included in version 2.4.28 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released self-approved Label which allows mergify to approve owner's PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant