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

スクラッチパッドが正しく表示されない Scratchpad doesn't render correctly #12398

Closed
MineCake147E opened this issue Nov 21, 2023 · 1 comment · Fixed by #12418
Labels
🐛Bug Unexpected behavior packages/frontend Client side specific issue/PR

Comments

@MineCake147E
Copy link

💡 Summary

スクラッチパッドが正しく表示されません。
image

少し調べてみたところ、入力用のtextareaが正しくリサイズされていないようです。
image

回避策(off-topic?)

回避策として、以下のカスタムCSSを使っています。

.xuT74 {
    min-width: calc(100% - 24px);
    height: calc(100% - 24px);
    margin: 0;
    overflow: hidden;
    padding-bottom: 24px !important;
}

.xxhr0, .xuT74, code, code * {
    font-family: monospace !important;
}
.xuFXM * {
    line-height: 1.1em !important;
    margin-bottom: 12px;
}
.xmqOk {
    background-color: #1E1E1E;
    scrollbar-color: var(--acrylicBg) transparent;
}

image

🥰 Expected Behavior

スクラッチパッドが正しく表示される

🤬 Actual Behavior

スクラッチパッドが正しく表示されない

📝 Steps to Reproduce

  1. スクラッチパッドを開く
  2. 三行以上かつ先頭行がその末尾が見えなくなるくらい長いテキストを入力する
  3. 入力したテキストを選択する
  4. 観察する

💻 Frontend Environment

* Model and OS of the device(s):
  - PC: Custom built PC
    - OS: Windows 11 Home 22H2 (22621.2715)
    - CPU: Intel(R) Xeon(R) w5-2455X   3.19 GHz
    - RAM: 32 GB DDR5 ECC RDIMM
    - Graphics: NVIDIA GeForce GTX1060(6 GB)
    - Storage: 
      - OS(C:) : WD_BLACK SN770 1TB PCIe 4.0 NVMe M.2 SSD
      - DATA (D:) : Western Digital WDC WD10EZEX-22MFCA0 1000.2 GB 7200RPM SATA HDD
      - WORKSPACE (E:) : Seagate ST1000DM003-1ER162 1000.2 GB 7200RPM SATA HDD
* Browser: Mozilla Firefox 119.0.1
* Server URL: misskey.io
* Misskey: 2023.11.1-io.0c

🛰 Backend Environment (for server admin)

No response

@MineCake147E MineCake147E added the ⚠️bug? This might be a bug label Nov 21, 2023
@syuilo syuilo added 🐛Bug Unexpected behavior packages/frontend Client side specific issue/PR and removed ⚠️bug? This might be a bug labels Nov 21, 2023
@MineCake147E
Copy link
Author

MineCake147E commented Nov 21, 2023

Edge 119.0.2151.72 でも試してみました。
リサイズこそされるものの、textareaを単独でスクロール出来てしまいます。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior packages/frontend Client side specific issue/PR
Projects
None yet
2 participants