I'm experiencing a problem with the focus manager and wrong
When using the Rich Text Editor-control after changing any of
the textstyles by clicking one of the buttons the focus is (should
be) set back to the textarea of the RichTextEditor (via
But when I implement an event-listener listening to
"MOUSE_DOWN"-events in the parent of the Rich Text Editor like
the focus is not set correctly back to the textArea.
I can determine that the focus is not taken away from the
textArea during mouse-down when clicking one of the style buttons
bold/italic/underlined and that the focus jumps to the
align-buttons (left, right, center) when clicking one of them.
Furthermore if you open and close the color-picker-control the
focus jumps to a place of the Rich Text Editor where even no
control object is present having the size of the color-picker
If I comment this line out
everything is working fine.
For safety purposes and to prevent side-effects of
superordinated objects I would like to block all events at a
certain point. Or is this no good idea in general?
note: This only happens when blocking MOUSE_DOWN-events. I
did not experience failures when blocking one of the other