Home > front end >  Use the sogou input method can't monitor vue2.0 keyboard events in the text field
Use the sogou input method can't monitor vue2.0 keyboard events in the text field

Time:09-21

As title I made a vue text box, and want to do the typing sound, but found that after the switch to sogou input method cannot be triggered keyboard events, is there any who know how to return a responsibility

CodePudding user response:

Should be code errors, post code and have a look

CodePudding user response:

` ` ` & lt; Div contenteditable @ compositionstart="handleCompositionStart" v - HTML="$store. State. Chapter_content" @ compositionend="handleCompositionEnd & gt;"
` ` `
Is this compositionend and compositionstart cannot be triggered

CodePudding user response:

The text box? Js implementation logic?

CodePudding user response:

After testing is a web side can trigger, but with electron will not take effect

CodePudding user response:

cannot solve the feeling, because don't often see CSDN
Start a blog address bosses welcome message to investigate electron using sogou and baidu does not trigger compositionend and compositionstart problem
  • Related