message: CustomSelect: removed document click handler
diff: @@ -115,7 +115,6 @@ class CustomSelect extends React.Component<CustomSelectProps, CustomSelectState>
  public state: CustomSelectState;
  private keyboardInput: string;
  private isControlledOutside: boolean;
  - private node: HTMLLabelElement;
  private selectEl: HTMLSelectElement;
  private readonly scrollBoxRef = createRef<HTMLDivElement>();
  @@ -215,14 +214,6 @@ class CustomSelect extends React.Component<CustomSelectProps, CustomSelectState>
  this.selectEl.dispatchEvent(event);
  };
  - handleDocumentClick = (event: Event) => {
  - const thisNode = this.node;
  -
  - if (this.state.opened && thisNode && !thisNode.contains(event.target as Node)) {
  - this.onBlur();
  - }
  - };
  -
  private scrollToElement(index: number, center = false) {
  const dropdown = this.scrollBoxRef.current;
  const item = dropdown ? (dropdown.children[index] as HTMLElement) : null;
  @@ -398,16 +389,6 @@ class CustomSelect extends React.Component<CustomSelectProps, CustomSelectState>
  handleKeyUp = debounce(this.resetKeyboardInput, 1000);
  - componentDidMount() {
  - document.addEventListener('click', this.handleDocumentClick, false);
  - document.addEventListener('touchend', this.handleDocumentClick, false);
  - }
  -
  - componentWillUnmount() {
  - document.removeEventListener('click', this.handleDocumentClick, false);
  - document.removeEventListener('touchend', this.handleDocumentClick, false);
  - }
  -
  componentDidUpdate(prevProps: CustomSelectProps) {
  if (prevProps.value !== this.props.value || prevProps.options !== this.props.options) {
  this.isControlledOutside = this.props.value !== undefined;
  @@ -441,11 +422,6 @@ class CustomSelect extends React.Component<CustomSelectProps, CustomSelectState>
  );
  };
  - rootRef = (element: HTMLLabelElement) => {
  - this.node = element;
  - setRef(element, this.props.getRootRef);
  - };
  -
  selectRef = (element: HTMLSelectElement) => {
  this.selectEl = element;
  setRef(element, this.props.getRef);
  @@ -482,7 +458,7 @@ class CustomSelect extends React.Component<CustomSelectProps, CustomSelectState>
  vkuiClass={getClassName('CustomSelect', platform)}
  className={className}
  style={style}
  - ref={this.rootRef}
  + ref={getRootRef}
  onClick={this.onLabelClick}
  >
  {opened && searchable ?
  