speakyourcode / grafana-button-panel

Grafana Button Control Panel
Apache License 2.0
19 stars 11 forks source link

When edit any properties, all buttons collapse #9

Closed peterprvy closed 1 year ago

peterprvy commented 2 years ago

I am editing any property (in editor), like Query, Color , ... still after pressing the key, everything is packed

for example, I press the space key at the specified location

image

the editor was packed

image

peterprvy commented 2 years ago

You should probably wait to press Apply or Save

image

in source code, edit all property invoke onChange

onChange={(e: SelectableValue) => updateButtons(i, { datasource: e.value }) }

aeshaynes commented 2 years ago

This is also happening to me when using Grafana v8.3.4

speakyourcode commented 1 year ago

We'll fix this in November

speakyourcode commented 1 year ago

Grafana has changed the behavior of the onChange event, as a workaround, we have added an Apply button for this in v0.3.2