mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 19:09:21 +08:00
Compare commits
6 Commits
guidelines
...
2.7.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd547ebffe | ||
|
|
61ad3c6a73 | ||
|
|
25f2ac13fc | ||
|
|
64034de87d | ||
|
|
b60fbdf84a | ||
|
|
222003bdec |
@@ -17,6 +17,14 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi
|
||||
|
||||
---
|
||||
|
||||
## 2.7.4
|
||||
|
||||
`2017-02-28`
|
||||
|
||||
- Fix TreeSelect cannot display bug. [#5092](https://github.com/ant-design/ant-design/issues/5092)
|
||||
- Fix Anchor `e.stopPreventDefault is not a function` error. [#5080](https://github.com/ant-design/ant-design/issues/5080)
|
||||
- Fix some detail styles of Input, Cascader, Upload.
|
||||
|
||||
## 2.7.3
|
||||
|
||||
`2017-02-25`
|
||||
|
||||
@@ -17,6 +17,14 @@ timeline: true
|
||||
|
||||
---
|
||||
|
||||
## 2.7.4
|
||||
|
||||
`2017-02-28`
|
||||
|
||||
- 修复 TreeSelect 多选框无法展现的问题。[#5092](https://github.com/ant-design/ant-design/issues/5092)
|
||||
- 修复 Anchor 的 `e.stopPreventDefault is not a function` 的报错。[#5080](https://github.com/ant-design/ant-design/issues/5080)
|
||||
- 修复 Input、Cascader、Upload 的一些样式细节。
|
||||
|
||||
## 2.7.3
|
||||
|
||||
`2017-02-25`
|
||||
|
||||
@@ -73,7 +73,6 @@ export default class AnchorLink extends React.Component<AnchorLinkProps, any> {
|
||||
if (onClick) {
|
||||
onClick(href, this._component);
|
||||
} else {
|
||||
e.stopPreventDefault();
|
||||
const scrollToFn = anchorHelper ? anchorHelper.scrollTo : scrollTo;
|
||||
scrollToFn(href, this.props.offsetTop);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
font-size: @font-size-base;
|
||||
|
||||
&-input.@{ant-prefix}-input {
|
||||
background-color: transparent;
|
||||
// Add important to fix https://github.com/ant-design/ant-design/issues/5078
|
||||
// because input.less will compile after cascader.less
|
||||
background-color: transparent!important;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
|
||||
@@ -17,10 +17,3 @@
|
||||
.@{ant-prefix}-input-preSuffix-wrapper {
|
||||
.input-preSuffix-wrapper(~"@{ant-prefix}-input");
|
||||
}
|
||||
|
||||
// chrome only hack, fix https://github.com/ant-design/ant-design/issues/4987
|
||||
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
|
||||
input.@{ant-prefix}-input {
|
||||
line-height: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ export default class TreeSelect extends React.Component<TreeSelectProps, any> {
|
||||
return (
|
||||
<RcTreeSelect
|
||||
{...this.props}
|
||||
dropdownStyle={{ maxHeight: '100%', overflow: 'auto', ...dropdownStyle }}
|
||||
dropdownStyle={{ maxHeight: '100vh', overflow: 'auto', ...dropdownStyle }}
|
||||
treeCheckable={checkable}
|
||||
className={cls}
|
||||
notFoundContent={notFoundContent}
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
|
||||
&-error,
|
||||
&-error .@{iconfont-css-prefix}-paper-clip,
|
||||
&-error &-item-name {
|
||||
&-error &-name {
|
||||
color: @error-color;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "antd",
|
||||
"version": "2.7.3",
|
||||
"version": "2.7.4",
|
||||
"title": "Ant Design",
|
||||
"description": "An enterprise-class UI design language and React-based implementation",
|
||||
"homepage": "http://ant.design/",
|
||||
|
||||
Reference in New Issue
Block a user