Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table cell focus/blur events not triggered (start from v4.3.1) #4868

Open
moazGalbat opened this issue Jan 29, 2025 · 0 comments
Open

Table cell focus/blur events not triggered (start from v4.3.1) #4868

moazGalbat opened this issue Jan 29, 2025 · 0 comments

Comments

@moazGalbat
Copy link

moazGalbat commented Jan 29, 2025

Description

When interacting with table cells in the editor:

  1. Clicking inside a table cell does not trigger the focus event
  2. Clicking outside the table after editing a cell does not trigger the blur event
    Note: The focus and blur events work correctly only for the first time after creating the table. Subsequent interactions with the table cells do not trigger these events.

This regression appears to have been introduced in version 4.3.1 and affects all subsequent versions.

Reproduction Steps

  1. Initialize Froala editor with event listeners
  2. Insert a table
  3. Click inside a table cell
  4. Click outside the table

Live reproduction: JSFiddle Example

Expected Behavior

  • focus event should trigger when clicking into a table cell
  • blur event should trigger when clicking away from an edited table cell

Actual Behavior

  • No focus event when entering table cells
  • No blur event when leaving table cells

Affected Versions

  • First observed in v4.3.1
  • Still present in latest version (v4.4.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant