Opened 9 years ago

Closed 9 years ago

#6301 closed Bug (invalid)

Handler function for 'focus' event firing infinitely in Firefox

Reported by: Scalar Owned by: Tobiasz Cudnik
Priority: Normal Milestone: CKEditor 3.4.2
Component: General Version: 3.4
Keywords: Firefox Cc:

Description

if we binf handler for 'focus' event, it will be firing infinitely.

Browser: Firefox 3.5.7 OS: Windows XP SP3

Attachments (1)

test2.html (1.1 KB) - added by Scalar 9 years ago.
Test file, demonstrates the bug

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Scalar

Attachment: test2.html added

Test file, demonstrates the bug

comment:1 Changed 9 years ago by Tobiasz Cudnik

Keywords: Firefox added; focus firefox removed
Milestone: CKEditor 3.4.2
Owner: set to Tobiasz Cudnik
Status: newassigned

comment:2 Changed 9 years ago by Tobiasz Cudnik

Resolution: invalid
Status: assignedclosed

I don't think it's an editor's bug, rather "behavior based on the design" of how focus works:

  1. Editor gains focus
  2. Alert steals focus
  3. One closes alert
  4. Focus is back to last focused element (editor)
  5. Back to point 1

After making a TC with another textarea, which gains the focus instead of an alert, there isn't any problem.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy