It’s not 100% consistent, but it seems to happen more when the images are partially off-screen.

  • Pyro@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    There appears to be a workaround in that thread:

    To force ion-input to not steal focus, Set ion-button with attribute tabIndex=“1”, Set ion-input with attribute tabIndex=“2”

    
         setValue(e.detail.value)} />
         setValue("foo")}>foo
    
    

    As a side effect, the ion-button will take on a border when focused. Add to css to remove the border.

    ion-button:focus{ outline: none; }

    Though I’m not entirely sure how this would work with the dynamic nature of a Lemmy feed.

    • aeharding@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Thanks, I looked into that but I couldn’t get it working unfortunately. PRs welcome. :) Otherwise Ionic peeps know about this and it will be addressed, just a matter of timing.