Compare commits

...

6 Commits
2.9.2 ... 2.7.4

Author SHA1 Message Date
afc163
fd547ebffe bump 2.7.4 2017-02-28 22:03:54 +08:00
陆离
61ad3c6a73 typo stopPreventDefault -> stopPropagation (#5093)
* typo stopPreventDefault -> stopPropagation

* remove
2017-02-28 21:53:30 +08:00
afc163
25f2ac13fc fix cascader style selector priority, close #5078 2017-02-28 21:53:22 +08:00
afc163
64034de87d fix upload error item name color 2017-02-28 21:52:56 +08:00
afc163
b60fbdf84a Fix tree-select not show bug, close #5092 2017-02-28 21:52:22 +08:00
afc163
222003bdec revert 5b20a5f and fix #5091 2017-02-28 21:52:03 +08:00
8 changed files with 22 additions and 12 deletions

View File

@@ -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`

View File

@@ -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`

View File

@@ -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);
}

View File

@@ -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;

View File

@@ -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;
}
}

View File

@@ -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}

View File

@@ -153,7 +153,7 @@
&-error,
&-error .@{iconfont-css-prefix}-paper-clip,
&-error &-item-name {
&-error &-name {
color: @error-color;
}

View File

@@ -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/",