pvpc-hourly-pricing-card icon indicating copy to clipboard operation
pvpc-hourly-pricing-card copied to clipboard

Selection remains under Android

Open McGiverGim opened this issue 4 years ago • 4 comments

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.

McGiverGim avatar May 02 '20 09:05 McGiverGim

Yes and No.

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

danimart1991 avatar May 02 '20 09:05 danimart1991

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

McGiverGim avatar May 02 '20 09:05 McGiverGim

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 avatar May 11 '20 19:05 McGiverGim

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.

McGiverGim avatar May 23 '20 15:05 McGiverGim