Skip to content

fix: Textarea blink on first mount - #37847

Merged
zombieJ merged 6 commits into
masterfrom
textarea
Oct 4, 2022
Merged

zombieJ merged 6 commits into
masterfrom
textarea

Conversation

@zombieJ

@zombieJ zombieJ commented Oct 3, 2022

Copy link
Copy Markdown
Member

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fix #36556

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Textarea with autoSize blink on the fist mount.
🇨🇳 Chinese 修复 Textarea 配置 autoSize 在第一次渲染时闪烁的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions

github-actions Bot commented Oct 3, 2022 •

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Oct 3, 2022 •

Copy link
Copy Markdown
Contributor

Size Change: -122 B (0%)

Total Size: 959 kB

Filename Size Change
./dist/antd-with-locales.min.js 374 kB -20 B (0%)
./dist/antd.min.js 317 kB -102 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/antd.compact.min.css 66.6 kB
./dist/antd.dark.min.css 67.9 kB
./dist/antd.min.css 66.6 kB
./dist/antd.variable.min.css 67.2 kB

compressed-size-action

@codecov

codecov Bot commented Oct 4, 2022 •

Copy link
Copy Markdown

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (cb3c935) compared to base (8003425).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #37847   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          443       443           
  Lines         8246      8246           
  Branches      2469      2469           
=========================================
  Hits          8246      8246           
Impacted Files Coverage Δ
components/input/TextArea.tsx 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autosized textarea is bouncing when dynamically displayed

2 participants