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

Task: Drop use:resize directive in favor of new ResizeObserver bindings #153

Closed
1 task
iolyd opened this issue Apr 11, 2023 · 0 comments
Closed
1 task
Assignees

Comments

@iolyd
Copy link
Member

iolyd commented Apr 11, 2023

Task Description

Up until now, svelte didn't offer a binding for observing non-window element resize. With the nowadays broader compat of ResizeObserver, bindings filling that role were recently added.

We have been using our own tiny directive that allows us to listen to resize events. In some cases, this might not be useful anymore.

Actions

  • Replace custom directive with newly available bindings where applicable
@iolyd iolyd self-assigned this Apr 11, 2023
@iolyd iolyd closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2023
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

No branches or pull requests

1 participant