Skip to content

Conversation

@laurakwhit
Copy link
Collaborator

Description & motivation 💭

Refactors event listener management by replacing manual addEventListener/removeEventListener calls with Svelte 5's on function, which provides automatic cleanup.

Files modified:

  • src/lib/holocene/portal/portal.svelte
  • src/lib/holocene/outside-click.ts

Screenshots (if applicable) 📸

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@vercel
Copy link

vercel bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
holocene Ready Ready Preview, Comment Jan 28, 2026 11:56pm

Request Review

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.

2 participants