Skip to content

fix: tabs_animation_bug#23151

Merged
afc163 merged 3 commits into
ant-design:masterfrom
imhxc:fix_tabs_animation_bug
Apr 13, 2020
Merged

fix: tabs_animation_bug#23151
afc163 merged 3 commits into
ant-design:masterfrom
imhxc:fix_tabs_animation_bug

Conversation

@imhxc

@imhxc imhxc commented Apr 12, 2020

Copy link
Copy Markdown
Contributor

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fix #23050

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix the issue that Tabs component cannot be displayed in Safair browser.
🇨🇳 Chinese 修复 Tabs 开启动画的情况下,在 Safair 浏览器下的无法显示的问题。

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • 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

@ant-design-bot

ant-design-bot commented Apr 12, 2020

Copy link
Copy Markdown
Contributor

@codesandbox-ci

codesandbox-ci Bot commented Apr 12, 2020

Copy link
Copy Markdown

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 9fe57ea:

Sandbox Source
antd reproduction template Configuration

@afc163

afc163 commented Apr 12, 2020

Copy link
Copy Markdown
Member

image

@afc163

afc163 commented Apr 12, 2020

Copy link
Copy Markdown
Member

Rebase master to fix ci.

@imhxc

imhxc commented Apr 12, 2020

Copy link
Copy Markdown
Contributor Author

@afc163
I modified the place you just mentioned, but still some checks were not successful.
I don't know if these errors are related to me, I hope to get help.

@afc163

afc163 commented Apr 12, 2020

Copy link
Copy Markdown
Member

Rebase master to fix ci.

> .@{tab-prefix-cls}-tabpane {
flex-shrink: 0;
width: 100%;
-webkit-backface-visibility: hidden;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是不是需要再补个标准属性?backface-visibility

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要了,特别给 safari 老版本做兼容用的。

@afc163
afc163 merged commit 653724b into ant-design:master Apr 13, 2020
xrkffgg pushed a commit that referenced this pull request Apr 13, 2020
* fix: tabs_animation_bug

* fix: fix lint error

Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>
@afc163 afc163 mentioned this pull request Apr 13, 2020
xrkffgg pushed a commit that referenced this pull request Apr 16, 2020
* fix: tabs_animation_bug

* fix: fix lint error

Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>
@nick-ChenZe

Copy link
Copy Markdown
Contributor

@afc163 this bug still in 3.26.16, this pr should cherry-pick to 3.x.
thanks

yoyo837 pushed a commit that referenced this pull request May 14, 2020
* fix: tabs_animation_bug

* fix: fix lint error

Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>
afc163 pushed a commit that referenced this pull request May 15, 2020
* fix: tabs_animation_bug

* fix: fix lint error

Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>

Co-authored-by: HouXiancheng <505421473@qq.com>
Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>
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.

Tabs - In Safari, the tab content which is not the first disappears

5 participants