button-card icon indicating copy to clipboard operation
button-card copied to clipboard

swipe_nav not working on button-card

Open shaiger opened this issue 1 year ago • 0 comments

Checklist

  • [X] I updated the card to the latest version available
  • [X] I cleared the cache of my browser

Describe the bug I use the button-card as a host (card), rather than as a button. In fact, the card covers the majority of the screen. swipe_nav is not working in views that have a large button-card (though scroll up-down does work). I also noticed that pressing the area of the card does conduct a brief press like animation although no tap actions are enabled. This behavior is applicable to all color-type options but 'blank-card'. When using 'blank-card' however, swipe does work yet the card content remains blank as expected.

Version of the card Version: any

To Reproduce Any large card would do the trick.

Screenshots Screenshot 2024-12-20 164950

Expected behavior swipe should work anywhere, there should be no animation upon press unless specified (either by having a tap_action defined or explicitly by some dedicated config value). Perhaps a new color_type value can provide an indication, though this seems awkward.

Smartphone (please complete the following information):

  • Device: Lenovo SmartView
  • OS: Lineage +Android 8.1
  • Browser: Chrome as WebView (WallPanel)
  • Version: any

shaiger avatar Dec 20 '24 16:12 shaiger