React Focus Lock Versions Save

It is a trap! A lock for a Focus. 🔓

v2.12.0

3 weeks ago

Features

v2.9.0

2 years ago
  • 🎉 React 18 support

Features

v2.8.0

2 years ago

Bug Fixes

  • disable positive index guard by default; use hasPositiveIndices to control behavior, fixes #32 (6db9980)
  • remove positive tab indices (a1f51e0)
  • update focus-lock to support Shadow Dom (668a559)

Features

  • allow removal of positive tab indices (b2a55a9)

v2.6.0

2 years ago

Bug Fixes

  • allow returnFocus to be garbage collected, fixes #173 (ad3a4a1)
  • do not use capture phase for focus-in events, fixes #134 (d56f49e)
  • React 17/18 support. The one above

Features

  • allow programatic control over returnFocus prop, fixes #178 (d5ec48b)

v2.5.2

2 years ago

Bug Fixes

v2.5.1

2 years ago

Bug Fixes

  • update focus-lock to speedup lock activation (0835485)

v2.2.0

3 years ago

Features

  • use forwardRef, and allow custom as prop (af0e560)

v2.3.0

3 years ago

Bug Fixes

  • correct behavior for radio buttons at the edge of lock, fixes #103 (9dac851)

Features

  • add crossFrame property to control iframe behaviour, fixes #104 (486a7e0)

v2.4.0

3 years ago

Bug Fixes

  • avoid crash on IE (1cbc9e5)
  • tabIndex=-1 elements should be autofocusable if pointed, fixes #108 (258e6aa)
  • update interfaces (7f977fb)

v2.4.1

3 years ago

Bug Fixes