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)
- TimePicker.RangePicker `format` should support array type HOT 18
- 在外部容器有scale缩放的情况下,下拉选择虚拟列表的滚动条位置不正确 HOT 1
- Table with virtual={true} doesn't register scroll of the page in Firefox browser
- DatePiker.RangePicker 使用年份时,先输入结束年份会报错 HOT 3
- Progress组件circle圆形进度条支持起始位置设置
- 页面缩放时(zoom样式)DatePicker的弹层定位问题 antd V4 HOT 2
- DatePicker dayjs localized formats do not work anymore HOT 3
- 剥离Notification组件的卡片堆叠效果 HOT 1
- Can renderEmpty consume the theme context? HOT 4
- Select组件多选情况,点击Tooltips会弹出下拉选项 HOT 4
- Table crashing when using render in column HOT 4
- -ms-high-constrast控制台废弃warning HOT 1
- Select 官网示例模糊搜索不正确 HOT 3
- After customising the fonts, the message icons are misaligned. HOT 3
- DatePicke的弹出框动画与message的弹出动画冲突问题 HOT 1
- [select-component][suffixIcon] 通过 suffixIcon 添加的 antd-icon CaretDownOutlined 无法触发 select 相关事件 HOT 6
- Transfer component throwing error when trying to check a item at right column HOT 1
- Bug when Table is sticky HOT 1
- Alert 的 afterClose 被触发多次 HOT 4
- [feat] 固定表格分页选择器 HOT 2
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.