Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

FocusChangedEvent on RichTextEditor not firing

$
0
0
Hi,

Smartgwt 4.1p-2014-04-10

I have a RichTextEditor. I try to add a FocusChangedEvent to the editor, but it never fires.

Code:

      RichTextEditor editor = new RichTextEditor();
        editor.setHeight(150);
        editor.setCanDragResize(true);
        editor.setShowEdges(false);
        editor.addFocusChangedHandler(new FocusChangedHandler() {
           
            @Override
            public void onFocusChanged(FocusChangedEvent event) {
                SC.logWarn("Focus changed");
            }
        });

I click on the editor, change some text, then click on another element in the page. I would then expect the "Focus changed" message to be logged twice, but it is not.

Regards
Rolf

Viewing all articles
Browse latest Browse all 4756

Trending Articles