_getIndexOfFocusedOption() {
    return findIndex(this.options, (element) => (
      element.props.value === this.state.focusedOptionValue
    ));
  }
Returns the index of the entry with a certain value from the component's
children.

The index search includes only option components.