question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toggle switches disappear at narrower column widths

See original GitHub issue

My Home Assistant version: 0.109.6

My lovelace configuration method (GUI or yaml): yaml

What I am doing:

I use slider-entity-row to provide brightness control for my light switches. For example:

  # Lounge lights
  - title: Lounge
    type: entities      
    entities:
      - entity: light.lounge
        hide_when_off: true
        min: 5
        name: Main lights
        toggle: true
        type: 'custom:slider-entity-row'

What I expected to happen:

For all column widths, I expect the slider and toggle switch to appear.

What happened instead:

For narrower column widths, the toggle switch disappears.

Wider:

Screen Shot 2020-05-17 at 4 57 40 pm

Narrower:

Screen Shot 2020-05-17 at 4 58 08 pm

This happens on Chrome and Safari on macOS (all at latest versions).

Minimal steps to reproduce:

As described above.

Error messages from the browser console:

No relevant error messages from console.


By putting an X in the boxes ([ ]) 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ntompsoncommented, May 26, 2020

Confirming the same - this has got worse in HA 0.110.2 - toggle button disappears completely for most entities. I can’t get it to come back for any column width on a browser (Safari / Chrome in macOS), but no issue on iPhone mobile app / Safari.

Screen Shot 2020-05-26 at 1 36 11 pm
1reaction
majorslcommented, May 17, 2020

I was just coming to report a similar problem related the spacing. This has been since the 13 update and the changes made. It looks fine on my phone, but you can see on my computer in the screen shot it is unnecessarily truncating “Lamps”. It has plenty of room to display this.

Screen Shot 2020-05-17 at 9 44 38 AM

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Toggle Switches/Modes disappeared - 3881316
I am using AE CS5. 5 and the Toggle Switches/Modes button at the bottom of the timeline has disappeared.
Read more >
Bootstrap navbar toggle button disappears on smaller screen ...
My navbar totally disappears and I am only left with the text in the navbar-brand class. I don't even get the toggle button....
Read more >
Columns Block – WordPress.com Support
Width : Sets the width in pixels of an individual selected column. You can change the column's value to make it wider or...
Read more >
Using and formatting columns in Microsoft Word
(If you don't want your columns to all be the same width, be sure to uncheck the "Equal column width" checkbox at the...
Read more >
Pulling Tables Back Into View - Microsoft Word Tips
Another thing to try is to switch to Normal (or Draft) view, ... If the table is empty, each column is made as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found