Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FocusChangedEvent on RichTextEditor not firing

    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
Working...
X