Skip to content

Commit 91815aa

Browse files
committed
release 0.8.2
1 parent 36d1de2 commit 91815aa

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ english: 更新日志
55

66
### 0.8.1
77

8+
`2016-09-07`
9+
10+
-`body`标签设置默认背景色,以及默认的`font-size`,`html`设置默认的`font-size`
11+
- `Grid`属性扩展,每行列数可配置,提供`renderItem`方法。
12+
- 修复`Checkbox``Radio`样式细节以及兼容性问题。
13+
- `SearchBar`输入框`Blur`状态时`placeholder`固定靠左对齐。
14+
- `Menu`高度计算bugfix。
15+
816
`2016-09-02`
917

1018
- 修复并整理各弹出层类组件 z-index 顺序 https://github.com/ant-design/ant-design-mobile/commit/bb875c2a924f61cc03b8d013fd1a8f5ee8e22972

components/menu/demo/onelevel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const MenuExample = React.createClass({
6161
Toast.info(`选中了 ${label}`);
6262
},
6363
render() {
64-
return <Menu data={data} level={1} onChange={this.onChange} />;
64+
return <Menu data={data} level={1} onChange={this.onChange} height={Math.round(document.documentElement.clientHeight / 3)} />;
6565
},
6666
});
6767

components/menu/index.web.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class Menu extends React.Component<MenuProps, MenuState> {
8787
}
8888

8989
const heightStyle = {
90-
height: `${ Math.round(height / 44) * 44 - 1 }px`,
90+
height: `${Math.round(height)}px`,
9191
overflowY: 'scroll',
9292
};
9393

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "antd-mobile",
3-
"version": "0.8.1",
3+
"version": "0.8.2",
44
"description": "基于 React 的移动设计规范实现",
55
"homepage": "http://mobile.ant.design",
66
"keywords": [

0 commit comments

Comments
 (0)