Skip to content

Clear Search Bar function doesn't refocus by current definition in the settings editor #83623

Closed

Description

@smilegodly

Currently the 'focusSearch' method is called directly after the 'clearSearchResults' method returns. I think they should be called in one function as they get called one after another anyways and effect the same widget.

  • I propose to add the 'focus search' method to the code below..
	clearSearchResults(): void {
		this.searchWidget.setValue('');
	}

Also.. there's an extra 'clear search' function in the settings editor that can be replaced by this code.

Activity

  1. vscodebot commented on Oct 30, 2019

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. changed the title [-]Clear Search Bar function doesn't refocus by current definition [/-] [+]Clear Search Bar function doesn't refocus by current definition in the settings editor[/+] on Oct 30, 2019
  3. added
    debt
    search
    on Oct 30, 2019
  4. added this to the November 2019 milestone on Oct 30, 2019
  5. locked and limited conversation to collaborators on Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

debtsearch

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions