Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/components/common/FakeArrow.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import classNames from 'classnames';
import { isSafari } from '@tdesign/common-js/utils/helper';
import { ClassName } from '../common';

import useConfig from '../hooks/useConfig';
Expand All @@ -18,6 +19,7 @@ function FakeArrow(props: {
className={classNames(
`${classPrefix}-fake-arrow`,
{
[`${classPrefix}-fake-arrow--transform`]: isSafari(),
[`${classPrefix}-fake-arrow--active`]: props?.isActive && !props?.disabled,
},
props?.className,
Expand Down
9 changes: 9 additions & 0 deletions packages/tdesign-react/.changelog/pr-4056.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
pr_number: 4056
contributor: liweijie0812
---

- fix(Menu): 修复在 `Safari` 浏览器中点击展开图标没有变化 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056))
- fix(Select): 修复在 `Safari` 浏览器中点击展开图标没有变化 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056))
- fix(TreeSelect): 修复在 `Safari` 浏览器中点击展开图标没有变化 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056))
- fix(Cascader): 修复在 `Safari` 浏览器中点击展开图标没有变化 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056))