Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Swipe navs not working with custom fields in custom:button-card #57

Open
chertvl opened this issue Jul 2, 2021 · 2 comments
Open

Swipe navs not working with custom fields in custom:button-card #57

chertvl opened this issue Jul 2, 2021 · 2 comments

Comments

@chertvl
Copy link

chertvl commented Jul 2, 2021

Hello, Maykar!
Firstly, sorry for my English.

All my front-end was builded with component "Custom Button Card", which allow to create cards inside itself.
I have some areas where I use cards inside custom buttons card, and these custom fields does not supports swipe navigation.

How to reproduce:
Use custom:button-card, create custom_field: with any card. For example, for adding graph to your existing card. Zone with graph will not pesponse to swipes.

Can I add this custom fields to allowlist somehow?

Thanks for your respond!

Example from cutsom-button-card docs.

- type: custom:button-card
  aspect_ratio: 1/1
  custom_fields:
    graph:
      card:
        type: sensor
        entity: sensor.sensor1
        graph: line
  styles:
    custom_fields:
      graph:
        - filter: opacity(50%)
        - overflow: unset
    card:
      - overflow: unset
    grid:
      - grid-template-areas: '"i" "n" "graph"'
      - grid-template-columns: 1fr
      - grid-template-rows: 1fr min-content min-content

  entity: light.test_light
  hold_action:
    action: more-info
@chertvl chertvl changed the title Swipe navs not working with buttons in custom:button-card Swipe navs not working with custom fields in custom:button-card Jul 2, 2021
@VoyteckPL
Copy link

I confirm this problem.

@VoyteckPL
Copy link

@maykar any chance for a fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants