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
75a1536c
Unverified
Commit
75a1536c
authored
Dec 11, 2018
by
Torkel Ödegaard
Committed by
GitHub
Dec 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14434 from grafana/14274-reset-search
14274 develop - Reset DsPicker and VizPicker state when closed
parents
47986908
6ac8f5c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
public/app/core/components/Animations/FadeIn.tsx
+2
-1
public/app/features/dashboard/dashgrid/EditorTabBody.tsx
+1
-1
No files found.
public/app/core/components/Animations/FadeIn.tsx
View file @
75a1536c
...
...
@@ -5,6 +5,7 @@ interface Props {
duration
:
number
;
children
:
JSX
.
Element
;
in
:
boolean
;
unmountOnExit
?:
boolean
;
}
export
const
FadeIn
:
SFC
<
Props
>
=
props
=>
{
...
...
@@ -21,7 +22,7 @@ export const FadeIn: SFC<Props> = props => {
};
return
(
<
Transition
in=
{
props
.
in
}
timeout=
{
props
.
duration
}
>
<
Transition
in=
{
props
.
in
}
timeout=
{
props
.
duration
}
unmountOnExit=
{
props
.
unmountOnExit
||
false
}
>
{
state
=>
(
<
div
style=
{
{
...
...
public/app/features/dashboard/dashgrid/EditorTabBody.tsx
View file @
75a1536c
...
...
@@ -117,7 +117,7 @@ export class EditorTabBody extends PureComponent<Props, State> {
</
div
>
<
div
className=
"panel-editor__scroll"
>
<
CustomScrollbar
autoHide=
{
false
}
>
<
FadeIn
in=
{
isOpen
}
duration=
{
200
}
>
<
FadeIn
in=
{
isOpen
}
duration=
{
200
}
unmountOnExit=
{
true
}
>
<
div
className=
"panel-editor__toolbar-view"
>
{
openView
&&
this
.
renderOpenView
(
openView
)
}
</
div
>
</
FadeIn
>
<
div
className=
"panel-editor__content"
>
...
...
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