16

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

top 4 comments
sorted by: hot top controversial new old
[-] aeharding@lemmy.world 4 points 1 year ago* (last edited 1 year ago)
[-] Pyroglyph@lemmy.world 1 points 1 year ago* (last edited 1 year 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.world 2 points 1 year 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.

[-] johman10@lemmy.world 3 points 1 year ago

I experience this too and it seems to happen when you open the image the first time only. It doesn't happen a twice for the same picture. It also doesn't matter how far you scroll really, it happens also when the image is fully on screen.

this post was submitted on 01 Aug 2023
16 points (90.0% liked)

Voyager

5724 readers
1 users here now

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! 👇

Number of sponsors badge

💙

founded 1 year ago
MODERATORS