Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using significantly more column space (overlap) when used with history-graph card (affecting zoom factor on mobiles) #52

Closed
bcutter opened this issue May 15, 2021 · 8 comments

Comments

@bcutter
Copy link

bcutter commented May 15, 2021

In addition to #41 the rare types of history-graph cards working with state-switch (the ones with a X and Y axis) result in the history cards using more space than allowed in their column.

I discovered this when using the mobile (smaller screen).

Without state-switch:
grafik

With state-switch applied to history-graph card:
grafik

Please notice the automatically changed zoom factor. So the hole view is malformed on the mobile screen.

On a second view the zoom factor remains, but the graphes are cut (overlapping screen) instead.

state-switch really has some significant issues with history-graph card!

@mag1024
Copy link

mag1024 commented Jun 15, 2021

@bcutter, do you have transitions enabled? If so, you might see if disabling them cures the problem.
I noticed similar behavior on the desktop, and in my case it was caused by the 'display: grid' that transitions insert.

@bcutter
Copy link
Author

bcutter commented Jun 20, 2021

@bcutter, do you have transitions enabled? If so, you might see if disabling them cures the problem.
I noticed similar behavior on the desktop, and in my case it was caused by the 'display: grid' that transitions insert.

You´re right, this issue only appears when having a transition enabled.
BUT: As a workaround for history-graph cards showing up at all, it´s recommended to use transitions. See #41

So hard to decide... as described here #41 (comment) you can´t have em all, like "a history-graph of type 'laying bars' without any transition". Thomas needs to have a look into this as something´s just really mixed up here.

@bcutter
Copy link
Author

bcutter commented Oct 26, 2021

I tested latest v1.9.0 and unfortunately can not to confirm this version fixed this issue, instead it´s the other way around:

With v8 it was working meanwhile (⚠), at least the graph itself was shown correctly (while the text still exceeded its right border):
grafik

But with v1.9.0 now it´s looking buggy (like "zoomed in") like before:
grafik

So with v1.9.0 the issue is basically being reintroduced. That´s strange! Sorry to report but according to my tests this issue is not closed yet.
Not sure what "fixed" it before, maybe the overall update of the graphs during one of the HA Core updates since June

@thomasloven thomasloven reopened this Oct 26, 2021
@thomasloven
Copy link
Owner

It's possible that 1.9.1 fixes this.

@bcutter
Copy link
Author

bcutter commented Oct 28, 2021

It's possible that 1.9.1 fixes this.

Unfortunately no, it doesn´t. You haven´t found the root cause for this yet :-(

@bcutter
Copy link
Author

bcutter commented Nov 1, 2021

In addition: the issue also exists for other card types.

Here I have some mini graph cards in vertical stack cards as well as entities card, all put in state switch card which is in a vertical stack card.

image

@thomasloven
Copy link
Owner

Please try release 1.9.3

@bcutter
Copy link
Author

bcutter commented Mar 1, 2022

v1.9.3 rocks (so do you)! Fixed everything I mentioned earlier in this issue. Thank you.

@bcutter bcutter closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants