-
Notifications
You must be signed in to change notification settings - Fork 38
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
Refactor/input helper #23
Conversation
a576db1
to
e09e455
Compare
883e05c
to
5a51e7e
Compare
Wow a simply |
5a51e7e
to
078cc13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't look closely, nor am I familiar with this part of code. I might over look things here.
src/components/InputHelperModal.js
Outdated
ref.addEventListener("mousedown", onMouseDown); | ||
ref.addEventListener("mousemove", onMouseMove); | ||
ref.addEventListener("mouseup", onMouseUp); | ||
cached.modalDialog = ref; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be deleted? Same as below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is redundent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed now.
4c213ac
to
518680f
Compare
Fixed the code review comment, thanks! Would someone else (maybe the author iamchucky?) be able to help review this part of code? |
Is there anything I can do to help get this reviewed? Basically, what I did is:
I have two following PRs that refactors out the modals to React, and a working branch to reactor the context menu as a whole to React in pending. I believe that should extract the major case of the application logic (
|
Sorry for the misunderstanding. I was going to merge after my comment get addressed. I didn't mean I need other reviewers for review. |
回報一個bug就是在firefox上開啟輸入小幫手後點右上角x紐無法關閉,chrome上沒這問題 |
Depends on
#24Description
document.body
Screenshots