Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker日期控件左右箭头乱码 #17334

Closed
haro007 opened this issue Jun 27, 2019 · 22 comments · Fixed by #17480
Closed

DatePicker日期控件左右箭头乱码 #17334

haro007 opened this issue Jun 27, 2019 · 22 comments · Fixed by #17480
Labels

Comments

@haro007
Copy link

haro007 commented Jun 27, 2019

在谷歌浏览器上偶尔会出现左右箭头乱码的情况,不是必然重现
image

@ant-design-bot
Copy link
Contributor

Hello @haro007, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @haro007,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@wayofwade
Copy link

在谷歌浏览器上偶尔会出现左右箭头乱码的情况,不是必然重现
image

我也出现这个问题,有时候箭头乱码,我感觉会不会是build之后,部署到服务器出现的问题,因为本地调试是正常的。不知道你后来解决了没有。

@steadyzeus
Copy link

请问楼上有解决这个问题吗?

@tchen-l
Copy link
Contributor

tchen-l commented May 25, 2023

我用 Select 也遇到这个问题了,我看是.ant-select-selector:after{content: '\a0'} 在chrome里\a0被解析成 A 了,不知道为什么

@afc163
Copy link
Member

afc163 commented May 25, 2023

#19648 (comment)

@tchen-l
Copy link
Contributor

tchen-l commented May 25, 2023

加了 !DOCTYPE html 的,但是在mac上没出现过这个问题,在测试同事的windows chrome里会偶现,也不知道为什么

@afc163
Copy link
Member

afc163 commented May 25, 2023

看看是不是开了翻译。

@tchen-l
Copy link
Contributor

tchen-l commented May 25, 2023

嗯,确实开了翻译,我让她关了看看还会不会出现,多谢😄

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

image
image

测试说关了翻译,今天又出现了😭

@afc163
Copy link
Member

afc163 commented May 26, 2023

你的 antd 版本是什么,我在这里专门修复过这个问题 #17480

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

4.24.10

@afc163
Copy link
Member

afc163 commented May 26, 2023

@895433995 有截图看看不

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

image

@afc163
Copy link
Member

afc163 commented May 26, 2023

@895433995 是看出问题的 Select 的截图,以及相关的 Chrome 版本。

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

select截图上面已经发过了,
image

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

image

@afc163
Copy link
Member

afc163 commented May 26, 2023

图片

content: '\a0' 这个伪元素上是有 visibility: hidden; 样式的,理论上应该是看不见的,你能否协助在可重现的电脑上打开 devtool 帮忙看看为啥 visibility: hidden; 没生效么?

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

因为没在公司,所以不太方便让同事看,但是我在官网看多选的下拉框是没有visibility: hidden;样式的
image

@afc163
Copy link
Member

afc163 commented May 26, 2023

看上去多选也应该加个 visibility: hidden;

@afc163
Copy link
Member

afc163 commented May 26, 2023

方便来个 PR 不?

@tchen-l
Copy link
Contributor

tchen-l commented May 26, 2023

好的我研究研究

@rawbin-
Copy link

rawbin- commented May 27, 2023

我们昨天发现是这个


.ant-select-multiple .ant-select-selector:after {
    display: inline-block;
    width: 0;
    margin: 2px 0;
    line-height: 24px;
    content: " "
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants