Skip to content

add element.blur() #120

Closed
Closed
@rodneyrehm

Description

@rodneyrehm

Extracted from #81.

We need a utility to safely remove focus from an element.

  • The utility should have an option to pass focus to the next focsuable ancestor (rather than always passing focus to body).
  • We should guard from windows losing focus in IE9 as $.ui.safeBlur() does.
  • The utility should accept an option that controls the behavior if the element to blur does not have focus.

Have a look at the focus fixup rules before implementing anything.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions