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)
- 【bug】表格排序错误的排序出参 HOT 2
- Select组件通过 dropdownRender 自定义虚拟列表 Table, 提示React does not recognize the offsetX prop on a DOM element HOT 5
- 无法使用antd包 HOT 4
- [Wrong statement]Why is component defaultValue not working when inside Form.Item? HOT 4
- Badge 徽标数 设置了color时 count为0时 本该消失,但仍显示小红点 HOT 4
- Colorpicker dragging too many times will be banned HOT 8
- Modal组件的destroyOnClose属性无法销毁其中Form组件具有form属性时的状态 HOT 1
- 受控的Select组件,onChange中setValue为undefiend后,展示的label与实际的值不一致 HOT 3
- Dropdown 菜单支持展示 Checkbox HOT 5
- 父层级设置了scale后,Select下拉列表展开错误 HOT 1
- Table: Horizontal scrollbar is between table and fixed summary HOT 1
- DatePicker crashes when input is custimized via components props HOT 4
- datepicker 能否支持修改表头星期样式 HOT 4
- > Picker will set `locale` to dayjs object before format to ensure it get correct format with locale. Which means it's not enough to set timezone only and should provide fully local info. Pls ref official doc of ConfigProvider with correct locale handle. HOT 2
- 当Badge的status为processing且使用tailwindcss时,闪烁效果异常 HOT 2
- Tabs 以及页签禁用tabs键选中
- 升级V5后,原来的Less文件中使用的变量,在新版中怎么用
- After upgrading from version 5.5 to version 5.16 I get Node memory limit error HOT 6
- Table组件在dataSource为空数组时,且columns为动态列较多时,scroll设置为出现滚动条时,初次渲染会闪动,而且非常明显,感觉开始没有加载宽度,列越多闪动截止明显。 HOT 1
- DatePicker picker=week情况下修改表头处内容 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.