Skip to content

[Bug] - Blinking of arrow to select a language on language select #241

Closed
@ACR1209

Description

@ACR1209

What bug did you find in the codebase?

The select a category arrow is sometimes shown briefly when selecting a different language.

2025-01-21.15-36-36.mp4

This is caused by the following code and an incomplete checking of the loading state causing a race condition

  if (!fetchedSnippets)
    return (
      <div>
        <LeftAngleArrowIcon />
      </div>
    );

This can be simply fixed by taking into consideration the snippets loading state and putting a spinner on it. I can work on solving it this way if no one opposes😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions