Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

editorFocus and editorBlur events do not fire in Chrome or IE

#16

Reproduce code:

new MooEditable(textarea, {

'baseCSS': 'html { height: 100%; cursor: text } body.focus { background: red; } ',
'onEditorFocus': function() {
    this.doc.body.addClass('focus');
},
'onEditorBlur': function() {
    this.doc.body.removeClass('focus');
}



});

Expected behavior: background color change Actual behavior: no change in Chrome or IE8 Tested on: Firefox 3.5, Opera 9.6, IE8, Chrome 3

It seems, that focus and blur events are not correctly fired on those browsers, are not intercepted by MooEditable and are not re-fired as editor events. Theoretically, bug also applies to Safari and earlier versions of IE, but I can't confirm.

P.S. Sorry for a duplicate issue on github. I didn't notice this tracker at first... :)

Reported by kpobococ · January 7th, 2010 @ 05:13 PM

State: resolved
Milestone: 0.5
Assigned to: Lim Chee Aun Lim Chee Aun

Activity

  1. Lim Chee Aun
    Lim Chee Aun
    • State changed from new to resolved
    • Tag set to focus blur events bug

    Fixed. Thanks :)

    January 7th, 2010 @ 09:44 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.