diff --git a/components/dropdown/index.md b/components/dropdown/index.md index 13db8872b8..933a5d36c8 100644 --- a/components/dropdown/index.md +++ b/components/dropdown/index.md @@ -20,7 +20,7 @@ |-------------|------------------|--------------------|--------------| | trigger | 触发下拉的行为 | ['click'] or ['hover'] | ['hover'] | | overlay | 菜单节点 | [Menu](/components/menu) | 无 | - +| getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。[示例](http://codepen.io/anon/pen/ONjyba?editors=001) | Function(triggerNode) | () => document.body | 菜单可由 `antd.Menu` 取得,可设置 `onSelect` 回调,菜单还包括菜单项 `antd.Menu.Item`,分割线 `antd.Menu.Divider`。 diff --git a/components/popover/index.md b/components/popover/index.md index c64b6532ad..def27a85f5 100644 --- a/components/popover/index.md +++ b/components/popover/index.md @@ -26,3 +26,4 @@ | prefixCls | 浮层的类名 | string | ant-popover | | visible | 用于手动控制浮层显隐 | boolean | false | | onVisibleChange | 显示隐藏改变的回调 | function | 无 | +| getTooltipContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。[示例](http://codepen.io/anon/pen/ONjyba?editors=001) | Function(triggerNode) | () => document.body | diff --git a/components/select/index.md b/components/select/index.md index 0375e3f7cd..e5af9007e9 100644 --- a/components/select/index.md +++ b/components/select/index.md @@ -43,6 +43,7 @@ | size | 选择框大小,可选 `large` `small` | String | default | | showSearch | 在下拉中显示搜索框 | boolean | false | | disabled | 是否禁用 | boolean | false | +| getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。[示例](http://codepen.io/anon/pen/ONjyba?editors=001) | Function(triggerNode) | () => document.body | ### Option props diff --git a/style/mixins/button.less b/style/mixins/button.less index cc9b90c035..bc6e481fc5 100644 --- a/style/mixins/button.less +++ b/style/mixins/button.less @@ -83,10 +83,6 @@ .button-size(@btn-padding-base; @font-size-base; @border-radius-base); .user-select(none); .transition(all .3s @ease-in-out); - transform: translate3d(0, 0, 0); - // Fix for ie8 border-radius - // http://css3pie.com/documentation/known-issues/#z-index - position: relative\0; > .@{iconfont-css-prefix} { line-height: 1;