<commit_before># CHANGELOG

## 1.0.2

- The previous fix for focusing a nully anchor introduced a new bug:
  it would not focus on the anchor. This version changes the way
  the `focus` method is identified to fix this bug.

## 1.0.2

- Fixed case where anchor was lost transitioning between two pages
  with focus traps via hash URL routing.

## 1.0.1

- Fixes a case where the onExit callback was invoked without it being defined

## 1.0.0

- react-focus-trap is now active by default. This component is used in
  many settings where it is not a modal. In the case of modals,
  `active` is typically assigned as a dynamic prop anyway.
- The `onExit` property is no longer required.

### Upgrading

`active` is now true by default. Please verify that this does not<commit_msg>update changelog<commit_after># CHANGELOG

## 1.0.3

- The previous fix for focusing a nully anchor introduced a new bug:
  it would not focus on the anchor. This version changes the way
  the `focus` method is identified to fix this bug.

## 1.0.2

- Fixed case where anchor was lost transitioning between two pages
  with focus traps via hash URL routing.

## 1.0.1

- Fixes a case where the onExit callback was invoked without it being defined

## 1.0.0

- react-focus-trap is now active by default. This component is used in
  many settings where it is not a modal. In the case of modals,
  `active` is typically assigned as a dynamic prop anyway.
- The `onExit` property is no longer required.

### Upgrading

`active` is now true by default. Please verify that this does not
{'fraction_non_alphanumeric': 0.06165703275529865, 'fraction_numerical': 0.015414258188824663, 'mean_word_length': 3.4514285714285715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5846640', 'n_tokens_mistral': 460, 'n_tokens_neox': 445, 'n_words': 244}