thomasloven/lovelace-fold-entity-row

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

ildar170975 opened this issue · 5 comments

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
  1. It looks like this:
    image

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

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

  4. 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:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • Have made sure I am using the latest version of the plugin.
  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

Should work now

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: #199 (comment)

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.

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.

It is fixed, thanks a lot, Thomas!