misskey-dev / misskey

🌎 A completely free and open interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.95k stars 1.35k forks source link

enhance(frontend): MkPostForm autosize #14573

Open Natsuki-Kaede opened 3 weeks ago

Natsuki-Kaede commented 3 weeks ago

What

MkPostFrom autosize.

Why

close #14576

Checklist

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 19.61%. Comparing base (3bf63dd) to head (e24e9f4). Report is 1 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #14573 +/- ## =========================================== - Coverage 19.72% 19.61% -0.12% =========================================== Files 714 714 Lines 100375 100385 +10 Branches 996 997 +1 =========================================== - Hits 19802 19686 -116 - Misses 80030 80155 +125 - Partials 543 544 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kakkokari-gtyih commented 3 weeks ago

we try to avoid using external packages as much as we can. this looks relatively easy to implement, so i encourage you to make dedicated script inside /src/scripts and use

also, please search and link the corresponding issue (or make one if not present)

KisaragiEffective commented 3 weeks ago

I made one instead of OP

kakkokari-gtyih commented 3 weeks ago

I made one instead of OP

なんか似たようなやつがあった気がする(しらべてない)

KisaragiEffective commented 3 weeks ago

I made one instead of OP

なんか似たようなやつがあった気がする(しらべてない)

まああったらあったで古いやつに統合すれば良い

syuilo commented 3 weeks ago

CSSだけでやるのはまだiOSとか対応してないんだっけ

kakkokari-gtyih commented 3 weeks ago

CSSだけでやるのはまだiOSとか対応してないんだっけ

Chromium系しか来てなさそう https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing

Natsuki-Kaede commented 3 weeks ago

CSSだけでやるのはまだiOSとか対応してないんだっけ

This screenshot was taken on iOS and is compatible, and I think implementing it this way seems fine.