diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-28 09:29:35 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-28 09:29:35 +0800 |
commit | 5785ec0713c39466b3a6a171f5f0a2d38207b44b (patch) | |
tree | 95c7bbb4ae8b4f627a0465cec86f77d5eb349484 /packages/website/ts/components/top_bar | |
parent | 91a9014a50cca8e0d42634666fe409839aeae8cf (diff) | |
download | dexon-0x-contracts-5785ec0713c39466b3a6a171f5f0a2d38207b44b.tar.gz dexon-0x-contracts-5785ec0713c39466b3a6a171f5f0a2d38207b44b.tar.zst dexon-0x-contracts-5785ec0713c39466b3a6a171f5f0a2d38207b44b.zip |
Have new Popover component working in React 16
Diffstat (limited to 'packages/website/ts/components/top_bar')
-rw-r--r-- | packages/website/ts/components/top_bar/provider_display.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/packages/website/ts/components/top_bar/provider_display.tsx b/packages/website/ts/components/top_bar/provider_display.tsx index 806eaeea5..0a5c61776 100644 --- a/packages/website/ts/components/top_bar/provider_display.tsx +++ b/packages/website/ts/components/top_bar/provider_display.tsx @@ -61,8 +61,6 @@ export class ProviderDisplay extends React.Component<ProviderDisplayProps, Provi <DropDown activeNode={activeNode} popoverContent={this._renderPopoverContent()} - anchorOrigin={{ horizontal: 'middle', vertical: 'bottom' }} - targetOrigin={{ horizontal: 'middle', vertical: 'top' }} zDepth={1} /> </div> diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 8580c3a6e..3eef17746 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -276,8 +276,6 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { <DropDown activeNode={activeNode} popoverContent={popoverContent} - anchorOrigin={{ horizontal: 'middle', vertical: 'bottom' }} - targetOrigin={{ horizontal: 'middle', vertical: 'top' }} style={styles.menuItem} /> <TopBarMenuItem |