Comments (3)
一旦浏览器支持了 ::details-content
( 暂定名称) 伪元素,我们就可以不用通过 JS 计算高度来产生过渡动画,这样性能更好。
示例:https://codepen.io/yisi/pen/dyEYxBY
名称讨论:w3c/csswg-drafts#9951
from ant-design.
Hello @afc163. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch (feature branch for the new feature, master for bugfix and other changes), fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
你好 @afc163,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支(新特性发到 feature 分支,其他发到 master 分支),务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。
from ant-design.
tree 组件也可以用 <details>
元素试试,目前应该有一些用例无法满足,可以给 CSSWG 或者 HTML 规范提 issue,以此推动原生组件的快速发展,最终 Antd 等组件库也会从中受益。
from ant-design.
Related Issues (20)
- tagRender in select component (in tags mode) is invoked regardless of whether values are present or not HOT 3
- upload组件有时候点击无反应,不会弹出系统文件夹 HOT 5
- MenuItem 的 Label 中使用 Tooltip 不生效 HOT 2
- MenuItem 的 Label 中使用 Tooltip 不生效 HOT 2
- Table使用virtual並包裝在Model內造成跑版 HOT 2
- OnBlur it works incorrectly HOT 9
- Input: inputFontSize 不止改变字体大小,也会强制改变 Input 的高度 HOT 3
- Dropdown组件多层级情况下,当父盒子滚动时,多层级的popup位置异常不跟随滚动 HOT 3
- Avatar.Group 增加自定义maxPopoverContent
- Form.Item 单独支持layout
- 在webComponent自定义元素a的shadow dom里面使用TimePicker组件,把这个自定义元素a放到另外一个webComponent自定元素b的shadow dom中,TimePicker组件无法选中时间,第二次点击时间,会自动关闭时间选择框。 HOT 6
- Typography.Paragraph ellipsis is not expandable if used inside <pre> for multiline text
- StyleProvider对于shadowdom场景,Image组件样式丢失 HOT 4
- TimePicker.RangePicker在使用changeOnScroll和needConfirm表现异常 HOT 1
- qrcode disappear after switch tab in chrome HOT 4
- Table虚拟滚动,固定列初始状态下以及数据发生变更时无阴影
- The type of the 'record' argument of render func in the 'columns' props of the table is showing up as any. HOT 5
- Select 默认只搜索 value,Cascader 默认只搜索 label HOT 2
- Docs NeutralColorPalette section has wrong hint. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design.