SPL icon indicating copy to clipboard operation
SPL copied to clipboard

No event fired when correcting spelling

Open oullah opened this issue 11 years ago • 1 comments

I have a Spark TextInput control with a mispelled word in it. When I right click and correct the spelling, no event is fired by the TextInput even when I focus out. I would expect at least a valueCommit event but there is none. I noticed that TextFieldPlugin.dispatchChangeEvent() tells the textInput to fire a change event, but RichEditableTextPlugin.dispatchChangeEvent() does not. Perhaps it should? I can make this change but I am wondering if this is the right thing to do here.

oullah avatar Sep 12 '14 15:09 oullah

After further investigation it seems to be an issue with the way focus is handled. If you right click a misspelled word when the text control does not have focus, it will never get focus even if you make a spelling correction.

oullah avatar Sep 22 '14 13:09 oullah