Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu is cut by the card border when expanding down #397

Closed
3 tasks done
jrlacharnay opened this issue May 10, 2022 · 3 comments
Closed
3 tasks done

Menu is cut by the card border when expanding down #397

jrlacharnay opened this issue May 10, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jrlacharnay
Copy link

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

Hi,

In my config I disabled the icons & tiles :

icons: []
tiles: []

Since the version 2.0.11 (using HA 2022.5.3), the menu is sometimes expanding down and is then "cut" by the card :

image

It works well when it expands up. It depends its position on the screen.

Before 2.0.11 (and with HA 2022.2), it was always expanding up.

Note that I'm using Firefox. With the Android companion app, when it expand down, the card is expanded as well.

Thank you!

What version of a card has described problem?

v2.0.11

What was the last working version card?

v2.0.10

What vacuum model do you have problems with?

rockrobo.vacuum.v1

Which integration do you use to control your vacuum (link)?

https://www.home-assistant.io/integrations/xiaomi_miio/

What browser (browsers/apps) does have this problem?

Firefox

What version of Home Assistant do you use?

2022.5.3

What type of installation are you running?

Home Assistant OS

Card's configuration

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
entity: vacuum.robot_aspirateur
vacuum_platform: default
title: Vue aspirateur
map_locked: true
two_finger_pan: false
icons: []
tiles: []
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_goto
  - template: vacuum_follow_path

Javascript errors shown in the browser's console (if applicable)

No response

Additional information

No response

@mkllrtxn
Copy link

Same issue using Safari, Chrome, iPhone and Mac Companion apps

Example.mov

@mkllrtxn
Copy link

I have found a tweak using custom styling to solve the issue. You can find it here

@PiotrMachowski
Copy link
Owner

Done in v2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants