Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1554dcee
Unverified
Commit
1554dcee
authored
Feb 09, 2020
by
Tobias Skarhed
Committed by
GitHub
Feb 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cascader: Fix issue where the dropdown wouldn't show (#22045)
* Fix z-index on cascader * Cleanup * Remove unused import
parent
e9c6c040
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
packages/grafana-ui/src/components/Cascader/Cascader.tsx
+4
-0
packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.test.tsx
+1
-2
No files found.
packages/grafana-ui/src/components/Cascader/Cascader.tsx
View file @
1554dcee
...
...
@@ -198,6 +198,10 @@ export class Cascader extends React.PureComponent<CascaderProps, CascaderState>
value=
{
rcValue
}
fieldNames=
{
{
label
:
'label'
,
value
:
'value'
,
children
:
'items'
}
}
expandIcon=
{
null
}
// Required, otherwise the portal that the popup is shown in will render under other components
popupClassName=
{
css
`
z-index: 9999;
`
}
>
<
div
className=
{
disableDivFocus
}
>
<
Input
...
...
packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.test.tsx
View file @
1554dcee
import
React
,
{
ChangeEvent
}
from
'react'
;
import
{
mount
}
from
'enzyme'
;
import
{
GrafanaThemeType
,
GrafanaTheme
,
ThresholdsMode
}
from
'@grafana/data'
;
import
{
GrafanaThemeType
,
ThresholdsMode
}
from
'@grafana/data'
;
import
{
ThresholdsEditor
,
Props
,
thresholdsWithoutKey
}
from
'./ThresholdsEditor'
;
import
{
colors
}
from
'../../utils'
;
import
{
mockThemeContext
}
from
'../../themes/ThemeContext'
;
const
setup
=
(
propOverrides
?:
Partial
<
Props
>
)
=>
{
const
props
:
Props
=
{
theme
:
{
type
:
GrafanaThemeType
.
Dark
,
isDark
:
true
,
isLight
:
false
}
as
GrafanaTheme
,
onChange
:
jest
.
fn
(),
thresholds
:
{
mode
:
ThresholdsMode
.
Absolute
,
steps
:
[]
},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment