thomasloven / lovelace-fold-entity-row

🔹 A foldable row for entities card, containing other rows
MIT License
587 stars 38 forks source link

iPhone: Entities card with one `fold-entity-row` does not change it's height when the row is unfolded #206

Closed ildar170975 closed 2 years ago

ildar170975 commented 2 years ago

My Home Assistant version: 2021.12.10

Fold-entity-row version (FROM BROWSER CONSOLE): 20.0.14

What I am doing: Found a new issue on iPhone 5S (iOS 12.5.5). Unfolding a fold-entity-row inside an Entities card.

What I expected to happen: Everything works fine.

What happened instead: The Entities card does not change it's height when the row is unfolded.

Minimal steps to reproduce:

  1. Create a new tab.

  2. Add this card:

    type: entities
    entities:
    - type: custom:fold-entity-row
    open: false
    padding: 0
    head:
      entity: input_boolean.test_boolean
    entities:
      - entity: sun.sun
      - entity: sun.sun
      - entity: sun.sun
  3. It looks like this: image

  4. To reproduce the glitch - go to another tab and refresh it (swipe down). Go back to the 1st tab.

  5. Unfold the row. It looks like this: image Seems like the card did not update it's height.

  6. Refresh the tab (swipe down). Now the card looks OK: image

The only way to reproduce the glitch is "select to another tab, refresh it, go back to the 1st tab".

Error messages from the browser console: None

By putting an X in the boxes ([X]) below, I indicate that I:

thomasloven commented 2 years ago

Should work now

ildar170975 commented 2 years ago

No, same problem - now on iPad too. Here is a picture for iPhone:

image

Mobile App was tested after resetting a frontend cache. Screenshot is also containing a glitch described here: https://github.com/thomasloven/lovelace-fold-entity-row/issues/199#issuecomment-1025046384

f17mkx commented 2 years ago

Yep, I got the same issue. Restart / Reboot also didn't help. It behaved like that after installing the latest software update for your plugin.

thomasloven commented 2 years ago

image

This photo shows 20.0.15 running on Firefox under Linux, Chrome under linux, Safari under macOS 10.15.7, Safari under iOS 15.3, Home Assistant Companion under iOS 14.4.2 and Safari under iOS 12.5.5.

All with no trace of the problems described. Also all showing a visual difference that's unique to 20.0.15 but is absent from all screenshot posted in #192, #199 and #206.

I've made a new release (2.1.0) to maybe force HACS to update correctly.

ildar170975 commented 2 years ago

It is fixed, thanks a lot, Thomas!