Skip to content
  • Ismael Asensio's avatar
    [search] Do not update text input when it has focus · ec034350
    Ismael Asensio authored and Elvis Angelaccio's avatar Elvis Angelaccio committed
    When the user is entering a search term, a delayed search will be
    emmited after a few seconds. This means updating the search URL, which
    in turn gets parsed and reflected back on the search input.
    
    To avoid interrupting the user input flow and unexpectedly move the
    cursor to the end, let's update the input search box only when it
    doesn't have the focus.
    
    It's still updated on other interactions such as changing the search
    options or clicking a saved search on the places panel.
    
    BUG: 423328
    FIXED-IN: 20.08
    ec034350