Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.46k stars 41 forks source link

Strange Background and CSS behavior on Apple devices of all types, not seemingly related to fix #393

Closed samedarkclouds closed 4 months ago

samedarkclouds commented 4 months ago

Describe the bug Prior to update, everything looked the same, and correct on both Safari and Chrome. After the update, it appears that on Safari, the main bubble card header has a background artifact not affected by the CSS/Styles. IT seems to sit on top of the card below it and creates a box around the popup header area that discolors the contents below where it overlaps.

I included a picture of the exact same screen at the exact same time from both Safari and Chrome on the same Mac Studio. The Chrome version looks the same as it always did. The safari picture shows what I am talking about. Note: it appears correctly in the Companion app.

These screen shots were taken from a dashboard that was completely empty other than this one bubble card so as to prevent the possibility it was a trickle down from somewhere else.

Also, occasionally refreshing safari has weird and inconsistent effects the background, but never makes it look correct as it does in chrome.

Also, this effect existed before I did the "Pop-up initialization fix", and continues regardless. I was not experiencing the describe issue requiring the fix, but as it was mac related I added the fix to see if it had bearing. It doesn't seem to have made a difference.

To Reproduce Steps to reproduce the behavior: See code below with pictures.

Expected behavior I would expect the card to appear as it does on Chrome and not the way it appears on safari.

Screenshots Included below.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context type: vertical-stack cards:

Thank you! 🍻

Google Chrome Safari - Mac   iPhone
Clooos commented 4 months ago

This is fixed in the v1.7.1, thanks for the feedback!

https://github.com/Clooos/Bubble-Card/releases/tag/v1.7.1

Nemuritor01 commented 4 months ago

Great update. Works perfectly👍🏻

Clooos commented 4 months ago

Yeah! 🍻