Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Cleanup spotlight event target listeners #104

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Nov 22, 2023

Looks like we registered event listeners on every app rerender and for some reason this f*ed with setting the open state.

(I think it's obvious by now that I have no idea about React lol)

let's merge this, release and see if it's really fixed

possibly resolves #68

Copy link

vercel bot commented Nov 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview Nov 22, 2023 1:51pm

@Lms24 Lms24 merged commit 76721fd into main Nov 22, 2023
4 checks passed
@Lms24 Lms24 deleted the lms/fix-astro-toolbar-not-opening branch November 22, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spotlight Code is bundled twice in Astro Dev mode
1 participant