#Emotes not loading on the phone
1 messages · Page 1 of 1 (latest)
What happens when you refresh the page?
whats your ios? iphones should be able to display avifs since 2022 with ios 16
Same thing
They wont display, its just a ? Icon
actually some animated avifs do work on ios
mostly the most recent emotes
but they are very scuffed
I've heard there was an issue with animated sequences for avifs on certain versions of iOS
Non seem to work on 7tv tho 
go into the "new" emotes section
still not working
weird
yeah but i meant emotes that were recently uploaded
not really a solution but still interesting to see
so it works on newer ios
but the older emotes are still broken
yeah 
Thoughts on adding fallback images of a "supported format" when smth like this happens? It will be smth close to this:
<img src="invalid_link" onerror="this.onerror=null;this.src='link';">
ehh, needs further research
There is a fallback image but safari is just too bad to handle that case
I use the picture element and I provide all formats including a fallback
damn, so now it's an Apple hate megathread if none is working Sadge
tried to repro this through lambdatest seems like the issue only exists on mobile devices, this thing is working on macOS Sequoia (probably working for other macOS ones as well)
using this is kinda scuffed, would be better ijf smbd test this with an inspector on their device, it shows that there's an error on network requests for avifs while the console being completely clean
I'm gonna deploy this now
Can someone try it out? It should be live now
they works but after i click the emotes, 4 previews dont work 
true
ios 16.2 
the direct emote page still tries to load avif i think
but the emote cards are fine
also another apple trolling
you cant really select anything with the global search
it just closes the results without doing anything
only long press works which opens it in a new tab
true I forgot about that
I can't really imagine what the problem is there. Does someone have a video?
I really don't know why this happens
It doesnt make sense
The results are shown as long as they or the input is focused
clicking them should keep them focused

Interestingly, Chrome has a work around for scrolling down with the keyboard open
But clicking on stuff still doesn’t seem to work
Firefox and Safari are basic interfaces for apple’s webkit stuff I guess
I don’t have issues with scrolling
it still stays open
And long as you don’t accidentally trigger the keyboard to close
but you're on android
oh I see the video now
I didn't realize that was yours
I thought you asked me because you didn't have an iphone
lul
no i asked people to test it on android
I guess I'm just dumb
but can you scroll down to reach the emotes below the usernames here?
if it was limited to just like 2 users and 2 emotes, then everything would be visible and the search could be refined until the thing you want is clickable
currently most or all of the emote results are impossible to select while the keyboard is up
oh

I could've sworn I saw someone using Safari have the same issue that I do in Firefox
I guess it's just Firefox
common firefox L
Chrome is really such a good mobile browser
I should be looking for ways to sync my Firefox bookmarks with chrome
honestly i start to dislike chrome more
mostly because of some shitty performance issues with rendering
I only use Firefox on my desktop now
(librewolf actually)
but Chrome definitely does some things much better
like zoom levels
Firefox has a way to emulate pinch-to-zoom with a mouse though, which is super useful sometimes
but Firefox on iOS just isn't worth using outside of my need for synchronization to my desktop bookmarks and tabs
the classic goldilocks problem
browsers, DAWs, operating systems
literally everything
hmm
afaik, the main appeal of Safari over other browsers has been battery life
at least on desktops
it takes at least 10s for them to play at normal speed
and sometimes they revert back to being slow after a couple loops
or when you scroll down
Scrolling is very unoptimized rn
Is there no way for a webpage to detect the reduced vertical height available to it when there’s a keyboard open?
Even if there was, what would I do in that case?
Make the search results fit entirely on screen, and allow all 10 results to be scrolled within that reduced area
Yes I will just add a separate page, with more than 10 results.
ok
I mean I love the current search don't get me wrong
it just behaves weirdly in firefox on mobile
and even in other browsers, it's non-standard behavior
right now, the page stays the same size, which causes part of it to be covered by the keyboard
if you limited it to 2 users and 2 emotes on mobile, it would also solve that issue
and possibly be more elegant
was there a decision to put user results before emote results? I would assume most people would be looking for emotes before users
Not really
maybe flip it around then, and put emotes first and users at the bottom
Yeah sounds good
I'll have to think about how to restructure the search. I don't know if I even want to keep the quick results on mobile or if I just redirect to the full search page when someone taps the button.
quick results are so nice
it works so well
ideally the scrolling and clicking could be fixed, but if not, it's not a huge loss to disable it for only mobile
I'm happy to hear that
We can use this option in "desktop site" mode with mobile if it cant be added on mobile version.
So basically, if this feature can't be added to the mobile version, it is still not far from reach 
this is also not selectable

hopefully people don't already have too much muscle memory