New issue
Advanced search Search tips

Issue 889351 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 27
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature
M71



Sign in to add a comment

Need tidy up the "onSurroudingTextChange" event reason cause.

Project Member Reported by wuyingbing@chromium.org, Sep 26

Issue description

For the keyboard, when commit a text into input box, IMF will fire "onSurroundingTextChange" event. 
However, since the event is caused by IME self. 
Keyboard need disgusting the event is fired by IME or by focus changing.

Usually, when keyboard maintains a text before cursor changing history,
when commits a text, update the history stack.
When keyboard receives the "onSurroundingTextChange" event, checks the
bring information whether match the history stack.
If matches, means the event is caused by IME, otherwise it's by focus 
changing.





 
Blocking: 888402
Status: Fixed (was: Untriaged)
Blocking: -888402

Sign in to add a comment