Skip to content

Conversation

@YyumeiZhang
Copy link
Collaborator

@YyumeiZhang YyumeiZhang commented Oct 16, 2025

…in some 140 and 141 Chrome versions

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Fixes #3005
问题分析:
Tree/TreeSelect 中底层使用的是 collapsible 来实现的展开和收起的效果。
collapsible 给高度增加动画效果实现的展开收起动效

Image

需要解决的问题是,在高度从 56 ->0 时,transitionDuration 应该为 200ms 来保证动画一定生效。

修复后
image

Changelog

🇨🇳 Chinese


🇺🇸 English

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 16, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 54f4044:

Sandbox Source
pr-story Configuration

… when expanding Tree/TreeSelect after collapsing it
@cypress
Copy link

cypress bot commented Oct 16, 2025

semi-design    Run #3315

Run Properties:  status check passed Passed #3315  •  git commit be2f006227 ℹ️: Merge 54f40441fa0d18ef451e532e331bad1f10018952 into dd073a7b075e52525e21c4ac40f4...
Project semi-design
Branch Review fix/3005
Run status status check passed Passed #3315
Run duration 08m 06s
Commit git commit be2f006227 ℹ️: Merge 54f40441fa0d18ef451e532e331bad1f10018952 into dd073a7b075e52525e21c4ac40f4...
Committer YyumeiZhang
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 13
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 291
View all changes introduced in this branch ↗︎

@SudoUserReal SudoUserReal merged commit 51836b5 into main Oct 16, 2025
13 checks passed
@SudoUserReal SudoUserReal deleted the fix/3005 branch October 16, 2025 07:11
@cypress
Copy link

cypress bot commented Oct 16, 2025

semi-design    Run #3316

Run Properties:  status check passed Passed #3316  •  git commit 51836b5339: Merge pull request #3006 from DouyinFE/fix/3005
Project semi-design
Branch Review main
Run status status check passed Passed #3316
Run duration 07m 56s
Commit git commit 51836b5339: Merge pull request #3006 from DouyinFE/fix/3005
Committer SudoUser
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 13
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 291
View all changes introduced in this branch ↗︎

YyumeiZhang added a commit that referenced this pull request Nov 28, 2025
…Select/collapsible in some Chrome versions(v140,v141,v142), pick #3006
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.

[BUG] 在 Chrome 140部分版本及 141, 142 版本,Tree/TreeSelect 选项收起后,再次展开错误

3 participants