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
2d5e675d
Unverified
Commit
2d5e675d
authored
May 04, 2020
by
Torkel Ödegaard
Committed by
GitHub
May 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PanelEdit: Fixed scroll pos moved to top when clicking new radio buttons (#24146)
parent
b57802e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
packages/grafana-data/src/field/fieldOverrides.ts
+1
-0
packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx
+0
-2
public/app/features/dashboard/components/PanelEditor/OptionsPaneContent.tsx
+1
-1
No files found.
packages/grafana-data/src/field/fieldOverrides.ts
View file @
2d5e675d
...
@@ -46,6 +46,7 @@ export function findNumericFieldMinMax(data: DataFrame[]): GlobalMinMax {
...
@@ -46,6 +46,7 @@ export function findNumericFieldMinMax(data: DataFrame[]): GlobalMinMax {
let
max
=
Number
.
MIN_VALUE
;
let
max
=
Number
.
MIN_VALUE
;
const
reducers
=
[
ReducerID
.
min
,
ReducerID
.
max
];
const
reducers
=
[
ReducerID
.
min
,
ReducerID
.
max
];
for
(
const
frame
of
data
)
{
for
(
const
frame
of
data
)
{
for
(
const
field
of
frame
.
fields
)
{
for
(
const
field
of
frame
.
fields
)
{
if
(
field
.
type
===
FieldType
.
number
)
{
if
(
field
.
type
===
FieldType
.
number
)
{
...
...
packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx
View file @
2d5e675d
...
@@ -44,8 +44,6 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme, size: RadioButt
...
@@ -44,8 +44,6 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme, size: RadioButt
return
{
return
{
radio
:
css
`
radio
:
css
`
position: absolute;
position: absolute;
top: 0;
left: -100vw;
opacity: 0;
opacity: 0;
z-index: -1000;
z-index: -1000;
...
...
public/app/features/dashboard/components/PanelEditor/OptionsPaneContent.tsx
View file @
2d5e675d
...
@@ -98,7 +98,7 @@ export const OptionsPaneContent: React.FC<Props> = ({
...
@@ -98,7 +98,7 @@ export const OptionsPaneContent: React.FC<Props> = ({
/>
/>
</
TabsBar
>
</
TabsBar
>
<
TabContent
className=
{
styles
.
tabContent
}
>
<
TabContent
className=
{
styles
.
tabContent
}
>
<
CustomScrollbar
>
<
CustomScrollbar
autoHeightMin=
"100%"
>
{
showMainTab
?
(
{
showMainTab
?
(
<
PanelOptionsTab
<
PanelOptionsTab
panel=
{
panel
}
panel=
{
panel
}
...
...
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