Clooos / Bubble-Card

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

Horizontal button stack doesn't scroll on some browsers #505

Closed pgale closed 1 month ago

pgale commented 1 month ago

Describe the bug
v2.0.0beta6 - I've now created extra buttons in the horizontal button stack but the stack doesn't scroll to give me access to the extra buttons. Locked solidly in place.

Information (please complete the following information):

Happens on Android browser, Firefox on PC. It DOES work on iOS in the companion app.

pascalosek commented 1 month ago

Doesn’t work on my iOS companion app. It’s just centered.

IMG_0292

pgale commented 1 month ago

Out of interest, how many buttons do you have?

pascalosek commented 1 month ago

Only these four. Before upgrade from the stable version it was working correctly.

pascalosek commented 1 month ago

Doesn’t work on my iOS companion app. It’s just centered.

IMG_0292

It seems to be too narrow. If I add 'name' to the first button, then it's enough wide and scrollable.

pgale commented 1 month ago

Are you saying that if the buttons extend far enough off the page that they ARE scrollable?

pascalosek commented 1 month ago

@pgale yeah, correct.

pgale commented 1 month ago

@pgale yeah, correct.

So in that case, it's probably more about the calculation of the button width which might be a slightly different issue.

In my case above, I'm reporting where the buttons don't scroll regardless of the combined button width ie you can have 10 buttons that extend well off the page but they still don't scroll.

pgale commented 1 month ago

Just tried beta 8 and the issue still occurs. @Clooos can you confirm you have seen this and it's on the list to fix? Thanks :)

Clooos commented 1 month ago

I forgot about this one indeed, this will be fixed in the next release :)

pgale commented 1 month ago

Thanks :)

pascalosek commented 1 month ago

Doesn’t work on my iOS companion app. It’s just centered. IMG_0292

It seems to be too narrow. If I add 'name' to the first button, then it's enough wide and scrollable.

Solved with beta10.