Skip to content

Commit

Permalink
release 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pingan1927 committed Sep 7, 2016
1 parent 36d1de2 commit 91815aa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ english: 更新日志

### 0.8.1

`2016-09-07`

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

`2016-09-02`

- 修复并整理各弹出层类组件 z-index 顺序 https://github.com/ant-design/ant-design-mobile/commit/bb875c2a924f61cc03b8d013fd1a8f5ee8e22972
Expand Down
2 changes: 1 addition & 1 deletion components/menu/demo/onelevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const MenuExample = React.createClass({
Toast.info(`选中了 ${label}`);
},
render() {
return <Menu data={data} level={1} onChange={this.onChange} />;
return <Menu data={data} level={1} onChange={this.onChange} height={Math.round(document.documentElement.clientHeight / 3)} />;
},
});

Expand Down
2 changes: 1 addition & 1 deletion components/menu/index.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class Menu extends React.Component<MenuProps, MenuState> {
}

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antd-mobile",
"version": "0.8.1",
"version": "0.8.2",
"description": "基于 React 的移动设计规范实现",
"homepage": "http://mobile.ant.design",
"keywords": [
Expand Down

0 comments on commit 91815aa

Please sign in to comment.