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: console error on reparenting by ts-wrapper #30

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

CrookedGrin
Copy link

Fixes an error that shows up in the browser console. When ts-wrapper re-parents this element, it tries to remove the resizeobserver, but the element hasn't actually been instantiated yet, so the input doesn't exist. The error doesn't actually cause a bug, but it looks alarming in the console.

Minor fix for console error when using `ts-wrapper` (doesn't affect functionality, just throws an error)
Copy link

vercel bot commented Feb 13, 2024

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

Name Status Preview Updated (UTC)
shoelace ✅ Ready (Inspect) Visit Preview Feb 13, 2024 7:11pm

@CrookedGrin CrookedGrin requested a review from slhinyc February 13, 2024 19:11
@CrookedGrin CrookedGrin merged commit 4eda25d into next Feb 13, 2024
4 checks passed
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.

1 participant