Tencent / Tencent/tdesign-react

Dialog 过渡动画支持禁用或者修改

Open
#2,608 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

💪🏻 enhancement
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

这个功能解决了什么问题

在一些场景下是不需要过渡动画的,显得冗余。希望能够增加对过渡动画的禁用或者修改。

你建议的方案是什么

暴露参数支持对动画的禁用 如 disableAnimation

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Dialog component entry point and inspect how its transition animation is configured. Define the supported behavior for disabling or modifying the animation, then verify that the Dialog accepts the proposed option and that its transition behavior matches the issue request.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.