haaarshsingh / kmenu

The perfect ⌘K menu
https://kmenu.harshsingh.xyz
MIT License
771 stars 24 forks source link

[BUG] Bar blocks elements behind it even when it's closed #6

Closed haaarshsingh closed 2 years ago

haaarshsingh commented 2 years ago

Describe the bug In some SPECIAL CASES, when I click cmdk to toggle the bar it doesn't close properly.

To Reproduce I'm not sure what exactly is causing this bug, because the command menu on kmenu.hxrsh.in and the one in the example directory both work fine. However on the StackBlitz example that I've created doesn't close the menu properly. While it does make the opacity zero, it doesn't close the menu.

I've also tried console logging values but no luck there either.

Expected behavior I'd expect the opacity to become zero as well as having the bar out of sight.

Screenshots

image

Desktop (please complete the following information):

Additional context None

haaarshsingh commented 2 years ago

I am having trouble reproducing this. If this has happened with anybody, please do let me know.

hrishioa commented 2 years ago

This is happening with me as well. Trying to debug, will post anything I find.

I'm on

haaarshsingh commented 2 years ago

Hey @hrishioa, in the latest update of kmenu this will be fixed. I'm facing this bug too, but it happens only in development. It goes away in production,

haaarshsingh commented 2 years ago

It's been fixed in the recent v1.0.0-beta-git release. I'm unable to reproduce it, so I'll close it unless you still encounter it.