You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2020/11/09 22:14:03 UTC
[incubator-superset] branch master updated: Fix datetime picker
issues (#11621)
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 0c6aeef Fix datetime picker issues (#11621)
0c6aeef is described below
commit 0c6aeef92783157de77b0e3d1128fc072ecfa995
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Mon Nov 9 23:13:27 2020 +0100
Fix datetime picker issues (#11621)
---
.../src/explore/components/controls/DateFilterControl.jsx | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl.jsx b/superset-frontend/src/explore/components/controls/DateFilterControl.jsx
index d596490..70dc0db 100644
--- a/superset-frontend/src/explore/components/controls/DateFilterControl.jsx
+++ b/superset-frontend/src/explore/components/controls/DateFilterControl.jsx
@@ -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 {
@@ -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">