athena-datasource icon indicating copy to clipboard operation
athena-datasource copied to clipboard

Database selector in the query editor doesn't show options after clicking on it

Open kevinwcyu opened this issue 2 years ago • 0 comments

What happened:

I noticed when updating e2e tests that the database selector doesn't show options unless it's opened, closed, and then opened again. Looks like it only happens in Grafana v10+. I didn't notice a problem with the Redshift datasource with uses the same ResourceSelector component.

https://github.com/grafana/athena-datasource/assets/19530599/64cb40fe-a9fc-4420-90bb-cc2556bc8ca9

What you expected to happen:

Here's how it was working when running in Grafana v9.4.7

https://github.com/grafana/athena-datasource/assets/19530599/3d2718fd-bd8b-4408-93d8-f0e377ee6e82

How to reproduce it (as minimally and precisely as possible):

  1. Run Athena in Grafana v10+
  2. Add a panel with an Athena DS and click the database selector
  3. Click away from the database selector to close it
  4. Click the database selector again and now the options should appear.

Anything else we need to know?:

Environment:

  • Grafana version: 10+
  • Plugin version: 2.12.0

kevinwcyu avatar Oct 18 '23 16:10 kevinwcyu