This also occurred to me since a longer time.
I came to the conclusion it happens if i select some text and try to overwrite them.
It doesnt happened if i deleted the marked text before i typed.
It could be resolved by clicking anywhere else beside the text field and then into the text again.
I thought the problem was solved after version 2022.10 i think, but shortly i have seen it again.
Home Assistant 2022.11.3, Frontend 20221108.0 - latest, Linux, Firefox + Chromium
I have done some testing with my cards now, one time i have seen reversed text (not reproducible).
But i see disappearing lines now and this is reproducible. It may not appear after doing some editing, but it always occurs the first time editing after opening the card code editor.
Grid card with lot of area cards
click card edit ā code editor (one card only)-> double click area name
type: area
area: config
navigation_path: config
ā write abc
bctype: area
navigation_path: config
The area line is deleted, happens also with only one card and in another dashboard,
The same happens with vertical-stack or horizontal-stack instead of grid.
If i mark config
and press del, area:
doesnt disappear
It also happens on code editor for the entire grid, but only on editing the first card.
square: false
columns: 2
type: grid
cards:
- type: area
area: config
navigation_path: config
- type: area
area: home
navigation_path: home
It doesnt happen on a grid with custom:mushroom-entity-cards or mushroom-climate-cards.
It doesnt happen on a grid with GitHub - junalmeida/homeassistant-minimalistic-area-card: A minimalistic area card with sensors and buttons.
I tried this on another HA ( Home Assistant 2022.9.4, Frontend 20220907.2 - latest )
type: area
area: config
after double clicking config and writing one letter becomes
type: area
area: ''
Hourly weather card
click card edit ā click code editor
type: custom:hourly-weather
entity: weather.my_weather_sensor
name: weather
num_segments: '32'
label_spacing: '4'
icons: true
mark my_weather_sensor
ā write abc
or place cursor anywhere in weather.my_weather_sensor
and try to write or delete any letter
bctype: custom:hourly-weather
name: weather
num_segments: '32'
label_spacing: '4'
icons: true
this also happens if i add an error so there is no card preview
if i mark weather.my_weather_sensor and press del, entity:
doesnt disappear