Frontend: Entity Row Editor scroll issue in mobile Safari 0.116b1

Created on 3 Oct 2020  路  3Comments  路  Source: home-assistant/frontend

Checklist

  • [x] I have updated to the latest available Home Assistant version.
  • [x] I have cleared the cache of my browser.
  • [x] I have tried a different browser to see if it is related to my browser.

The problem


In HA iOS app (and thus mobile Safari) on iOS 14.2b when I click the pencil icon to enter the "Entity Row editor" and then scroll down in order to look at the preview, it causes the top part to kind of duplicate.

image

Expected behavior

Steps to reproduce


1. Edit an Entities card on iOS
2. Click pencil icon to enter the Entity Row Editor
3. Scroll down a bit (to look at the preview) but you'll notice the text at the top moved

Environment

  • Home Assistant release with the issue: 0.116.0b1
  • Last working Home Assistant release (if known): n/a (new feature)
  • Browser and browser version: Home Assistant Companion for iOS
  • Operating system: iOS 14.2 beta

State of relevant entities


Problem-relevant configuration


Javascript errors shown in your browser console/inspector


Additional information

bug

All 3 comments

Good lord

I think it _might_ possibly be related to having a header and/or footer in the card.

Tried editing a bunch of other cards, some with very few rows and others with tons of rows. And the Entity Row Editor on all of those worked perfectly fine. It's just this one particular card (so far) with issues. The only thing different from those other cards, is this one has a header/footer. Here's the card config:

entities:
  - light.ceiling_couch
  - light.ceiling_desk
  - light.desk_lights
footer:
  entities:
    - entity: scene.night_watch
    - entity: scene.bright_white
      icon: 'mdi:track-light'
    - entity: script.lights_flash_sean_desk_blink_long
  type: buttons
header:
  image: 'https://www.pngarts.com/files/1/Header-PNG-Image.png'
  type: picture
title: My Title
type: entities

Even on this I'm unable to reproduce it 100% consistently, so this might not be a big deal after all. Will play with it more tomorrow and see if I can reliably reproduce, otherwise I'll close this.

After testing the entity row editor on like three dozen cards and all sorts of variations, I cannot reliably reproduce this, so it appears to be some weird uncommon edge case. Closing this now.

Awesome feature btw Zack :)

Was this page helpful?
0 / 5 - 0 ratings