home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.11k stars 2.81k forks source link

Developer Tools / States Tab - crazy slow text input on Entity field #10270

Closed jamespreedy closed 2 years ago

jamespreedy commented 3 years ago

Checklist

Describe the issue you are experiencing

When trying to enter text in the "Entity" field, text entry is exceptionally slow on Safari on Mac. This is on the Developer Tools / States Tab - :8123/developer-tools/state I'm using Safari 15.0, but I've had the same experience with previous versions on my Mac too. Using another browser like Brave works fine, however I want to use my Mac's default browser and this is the only reason I have to switch browser whenever I need to use this page.

Describe the behavior you expected

The entering text using another browser, the text appears immediately as you would expect after each key is pressed.

Steps to reproduce the issue

  1. Use Safari on a Mac
  2. Go to the Developer Tools / States page
  3. Click in the entity dropdown field
  4. type in a word, or even just a few letters
  5. observe as Home Assistant takes perhaps 30 seconds or morello render each letter ...

What version of Home Assistant Core has the issue?

core-2021.10.4

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Safari 15.0

Which operating system are you using to run this browser?

Big Sur v11.6

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

Very little in the browser logs, I assume I'm looking in the wrong place.
I get this error in the console browser, but unsure if related.

The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.

Additional information

No response

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.