isaozler / grafana-shift-selector

The shift selector allows you to adjust the time range of your grafana dashboard to one specific shift or a range of shifts.
Apache License 2.0
6 stars 6 forks source link

Datepicker cropped inside panel #11

Open pax0r opened 1 year ago

pax0r commented 1 year ago

For some reason datepicker is "hidden" inside panel. See attached screen:

image

image

isaozler commented 1 year ago

Thanks @pax0r will check it out 👍

isaozler commented 1 year ago

With the new release v0.1.0 this should be fixed.

baur commented 1 year ago

Grafana-10.1.0-117102pre

image
isaozler commented 1 year ago

Is this with v0.1.1?

isaozler commented 1 year ago

Do you have some environment info for me? Browser, OS etc.

baur commented 1 year ago

Is this with v0.1.1?

yes, v0.1.1

Browser: Chrome 113.0.5672.127 Grafana: 10 (Nightly Builds) OS: Windows11

baur commented 1 year ago

Looks like Grafan bug, it crops by another panel

image
baur commented 1 year ago

any suggestions? is this a Grafana issue?

isaozler commented 1 year ago

can you tryout this (pre-) release https://github.com/isaozler/grafana-shift-selector/releases/tag/v0.1.2

baur commented 1 year ago

image image

isaozler commented 1 year ago

For now, if you can resize the panel when you set the production date. I will have to reconstruct and fix the issue with a permanent solution.

muutech commented 6 months ago

I've discovered a workaround that might be useful for someone.

Since I needed to have the shift selection panel at the top of the dashboard and also without taking up too much space (if I had to make it as large as the date selector, it would occupy a lot of space), I found that if you move the panel to the bottom of the dashboard to place it last, and then use CSS to force it to stick to the top, for some reason, it overlaps the rest of the panels.

Interestingly, this doesn't happen if it's placed first in the dashboard.

Vissually the solution is good (with the addition that the panel follows you with the scroll), but it's strange.