We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.37.1
Others
Crome 版本 131.0.6778.205(正式版本) (arm64)
No response
Ellipsis 组件的 content 里面如果有 \n,不会自动换行,也不能使用 dangerouslySetInnerHTML
The text was updated successfully, but these errors were encountered:
Hi, FruitJ.
Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.
我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandbox 或 stackblitz 创建一个实例。
Sorry, something went wrong.
一下三种方法,应该可以解决上述的问题,希望可以看下优先解决下,感谢 🥹
或者有什么解法辛苦贴一下
你好,FruitJ。 请提供在线复现,以便我们帮助您解决问题。您可以通过codesandbox或stackblitz创建演示。 我们需要您提供一个在线的实例,以便我们帮助排查问题。您可以通过codesandbox或stackblitz创建一个实例。
你好,FruitJ。
请提供在线复现,以便我们帮助您解决问题。您可以通过codesandbox或stackblitz创建演示。
我们需要您提供一个在线的实例,以便我们帮助排查问题。您可以通过codesandbox或stackblitz创建一个实例。
您好,我这边已经出制作了在线实例:https://codesandbox.io/p/sandbox/damp-currying-f3ntcd?workspaceId=ws_QRkxt7wGzthGexLuRHmLKr
这和 Ellipsis 没关系,你直接写 <div>{'a\nb'}</div> 也是不会换行的。需要换行要改 css: https://codesandbox.io/p/sandbox/great-meitner-tgglt8?file=%2Fsrc%2FApp.tsx%3A17%2C9
<div>{'a\nb'}</div>
No branches or pull requests
Version of antd-mobile
5.37.1
Operating system and its version
Others
Browser and its version
Crome 版本 131.0.6778.205(正式版本) (arm64)
Sandbox to reproduce
No response
What happened?
Ellipsis 组件的 content 里面如果有 \n,不会自动换行,也不能使用 dangerouslySetInnerHTML
Relevant log output
No response
The text was updated successfully, but these errors were encountered: