platform icon indicating copy to clipboard operation
platform copied to clipboard

Split second flicker of <commnadEmpty> component

Open tarun0206 opened this issue 1 year ago • 1 comments

Bug description

When clicking on "No repos available" below "Available Repos" and then clicking somewhere else to close the popup without inputting anything, there is a split-second flicker of the <CommandEmpty> component.

Steps to Reproduce

  1. Open the application.
  2. Navigate to the left panel.
  3. Click on "No repos available" below "Available Repos."
  4. Click somewhere else to close the popup without entering any input.

Expected Behavior

The <CommandEmpty> component should not flicker and should remain hidden if no input is given when closing the popup.

Actual Behavior

There is a split-second flicker of the <CommandEmpty> component when closing the popup after clicking on "No repos available."

Additional Information

  • This issue is observed specifically when clicking on "No repos available."

Screenshots

Recording2024-01-26020135

Code snippet to reproduce the bug

No code snippet required

Error traceback

No error message received.

Environment

  • Next.js Version: 13.5.0
  • Browser/Platform: tested on chromium browsers

tarun0206 avatar Jan 25 '24 20:01 tarun0206

Thanks for reporting this @tarun0206! It looks like there are some updates to be made when the user isn't the maintainer of a repo. We'll fix that for the next release!

frgfm avatar Jan 26 '24 21:01 frgfm