Skip to content

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

@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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy