grafana / athena-datasource

Apache License 2.0
36 stars 12 forks source link

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

Open kevinwcyu opened 8 months ago

kevinwcyu commented 8 months ago

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: