Skip to content

[Bug](juno): A trailing space is removed from search when results are refreshed #1768

@IvoGoman

Description

@IvoGoman

Description

I noticed that while typing if a certain delay is met any trailing whitespace is removed from the search string in the search box.
This is a bit irritating when still typing/refining the search terms.

As seen in the attached Gif if typing in the wrong moment the next characters are written without the whitespace. Also the search box resizes during refreshes.

This is done BOTH for preceding and succeeding whitespaces. For preceding whitespaces the cursors is even moved to the end of the search string.

Steps to Reproduce

  1. Open Supernova
  2. Start typing in the search box but end with an whitespace
  3. See the whitespace be removed

Expected Behavior

If it is technically required to cut any preceding or succeeding whitespaces it should not affect the user input but be done under the hood.

Screenshots

Image

Environment

  • OS: [e.g., Windows, macOS, Linux]
  • Browser: [e.g., Chrome, Firefox, Safari]
  • Version: [e.g., 22]

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    Status
    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions