We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TextArea
cols
A recent fix to the upstream Carbon library caught my eye: carbon-design-system/carbon#13069
It disables the "resize" attribute for TextArea if the cols prop is specified.
The differences in behavior compared to the Svelte implementation:
50
width=100%
width
resize=none
If we want to align with the upstream library, this would be a breaking change:
- export let cols = 50; + export let cols = undefined; + <textarea style:resize={typeof cols === "number" ? "none" : undefined} />
The text was updated successfully, but these errors were encountered:
Perhaps we can include this change as part of the v11 upgrade, assuming the flagship library adopted this behaviour in v11.
Sorry, something went wrong.
No branches or pull requests
A recent fix to the upstream Carbon library caught my eye: carbon-design-system/carbon#13069
It disables the "resize" attribute for
TextArea
if thecols
prop is specified.The differences in behavior compared to the Svelte implementation:
cols
does not have a default value (the Svelte implementation defaults to50
)cols
is not specified, the textarea haswidth=100%
cols
is specified, the textarea unsetswidth
and applies the style ruleresize=none
If we want to align with the upstream library, this would be a breaking change:
The text was updated successfully, but these errors were encountered: