mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Don't animate panels on initial render (#10130)
* grid: dont animate panels on initial render * grid: dont animate panels on initial render
This commit is contained in:
committed by
Torkel Ödegaard
parent
f78f86d0ab
commit
e0c173c5af
@@ -53,3 +53,12 @@
|
||||
.react-grid-item.react-draggable-dragging.panel {
|
||||
z-index: $zindex-dropdown;
|
||||
}
|
||||
|
||||
// Disable animation on initial rendering and enable it when component has been mounted.
|
||||
.react-grid-item.cssTransforms.panel {
|
||||
transition-property: none;
|
||||
}
|
||||
|
||||
.animated .react-grid-item.cssTransforms.panel {
|
||||
transition-property: transform;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user