-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Input&Select: fix cursor goes to the end of the text(#10611) #10648
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
Conversation
|
fix cursor goes to the end of the text #10611 |
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.
A problem: when compositing Chinese or other non-Korean languages, handleInput will never be called.
|
This commit (0b7e9da) also changed el-select. I think that same patch should be applied to el-select. |
|
@samjo-lendit But,I can't trigger the same bug when i type Korean in el-select. |
|
@xuzaixian here is a reproduction code! https://jsfiddle.net/samjo/ygbquxzp/3/ |
|
@samjo-lendit |
* Input: fix cursor goes to the end of the text(ElemeFE#10611) * Input: fix cursor goes to the end of the text(ElemeFE#10611) * Update input.vue * Update select.vue * Update input.vue
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set (to be verified) remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set remove isKorean hack (ElemeFE#11665, ElemeFE#10648)
* input: simplify internal implementation remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set remove isKorean hack (#11665, #10648) * input-number: fix for new el-input * test: input, fix vue warning * date-time-range: fix for new el-input * pagination: fix for new el-input, simplify internals * input: fix input event on compositionend * input-number: fix for new el-input * input-number: nuke userInput on change
* input: simplify internal implementation remove currentValue, strictly follow one-way data flow hack for MSIE input event when placeholder is set remove isKorean hack (ElemeFE#11665, ElemeFE#10648) * input-number: fix for new el-input * test: input, fix vue warning * date-time-range: fix for new el-input * pagination: fix for new el-input, simplify internals * input: fix input event on compositionend * input-number: fix for new el-input * input-number: nuke userInput on change
Please make sure these boxes are checked before submitting your PR, thank you!
devbranch.