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

[Refactor] Only load Stretchy if field-sizing is not supported. #1021

Open
LeaVerou opened this issue Feb 27, 2024 · 0 comments
Open

[Refactor] Only load Stretchy if field-sizing is not supported. #1021

LeaVerou opened this issue Feb 27, 2024 · 0 comments
Labels
Effort: low Easy to address issues, ideal for first time contributors! Priority: low Refactor Code improvements

Comments

@LeaVerou
Copy link
Member

In the same vein as #1018, we now have a native property for form control autosizing, that works much better than Stretchy. We should start treating Stretchy like a polyfill and load it conditionally only iff field-sizing is not present.

This is very low priority for now, since field-sizing has not yet shipped unflagged, but is shipping in Chrome 123 which means that in about 3-4 months it will be supported by two thirds of users.

@LeaVerou LeaVerou added Effort: low Easy to address issues, ideal for first time contributors! Priority: low Refactor Code improvements labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort: low Easy to address issues, ideal for first time contributors! Priority: low Refactor Code improvements
Projects
None yet
Development

No branches or pull requests

1 participant