Skip to content

Commit

Permalink
Fix datetime picker issues (#11621)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored Nov 9, 2020
1 parent b9284d3 commit 0c6aeef
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,13 @@ const PopoverContentStyles = styled.div`
.datetime {
margin: ${({ theme }) => theme.gridUnit}px 0;
}
.ant-tabs {
overflow: visible;
& > .ant-tabs-content-holder {
overflow: visible;
}
}
`;

class DateFilterControl extends React.Component {
Expand Down Expand Up @@ -454,7 +461,7 @@ class DateFilterControl extends React.Component {
defaultActiveKey={this.state.tab === TABS.DEFAULTS ? '1' : '2'}
id="type"
className="time-filter-tabs"
onSelect={this.changeTab}
onChange={this.changeTab}
>
<Tabs.TabPane key="1" tab="Defaults" forceRender>
<div className="timeframes-container">
Expand Down

0 comments on commit 0c6aeef

Please sign in to comment.