SchwarzIT / onyx

🚀 A design system and Vue.js component library created by Schwarz IT
https://onyx.schwarz
Apache License 2.0
56 stars 6 forks source link

fix(OnyxTextarea): Fix first manual resizing being canceled on Firefox #1277

Closed JoCa96 closed 3 months ago

JoCa96 commented 3 months ago

Relates to #1142

The issue seems to be specific to Firefox: Changing CSS properties that effect if onyx-textarea__wrapper::after is rendered abort the user's resizing action. As a workaround, we instead set the height to 0px, which also disables the auto-sizing of the textarea.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 3d79ffcf6b1a6a509dee9b8ebf0834046808d71c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | ------------------------- | ----- | | sit-onyx | Patch | | alpha-test-app | Patch | | playground | Patch | | @sit-onyx/chartjs-plugin | Patch | | @sit-onyx/nuxt | Patch | | @sit-onyx/storybook-utils | Patch | | @sit-onyx/vitepress-theme | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR