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

Selection remains under Android #15

Open
McGiverGim opened this issue May 2, 2020 · 4 comments
Open

Selection remains under Android #15

McGiverGim opened this issue May 2, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@McGiverGim
Copy link

The new PVPC card is great. It select and hour and shows a tooltip with the price when the mouse is over it.

The problem is that under Android, this selection and tooltip remains on. It does not return to the "current hour" and the tooltip does not hide when the touch is released.

I'm not too sure but I suppose that this was not the intended result.

@danimart1991
Copy link
Owner

Yes and No.

This is the actual default behaviour for all the Home Assistant graphs and I think I can't change it.

@McGiverGim
Copy link
Author

I think remember that it did not happen when the selection was a point at the starting hour. 😉

@danimart1991 danimart1991 added the bug Something isn't working label May 3, 2020
@danimart1991 danimart1991 self-assigned this May 3, 2020
@McGiverGim
Copy link
Author

I've played with other history graphs. The difference is that pressing inside the graph but outside the line, hides the tooltip. Here, all the graph opens the tooltip because the sectors fill the entire chart.

@McGiverGim
Copy link
Author

Another possible solution is to differentiate the current hour different than the selected one. In this way is not important if the tooltip remains, the current hour will be clearly visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants