So apparently file input on Firefox mobile just... doesn't work? I thought it was a pixelfed problem, and gave up on using it over the past few months. Was about to post pics to mastodon only to realize the attachment button didn't work on mastodon. Tested MDN's file input element page and the example flat out doesn't work. It would seem maybe a bit of JavaScript is needed to trigger a click on the input element to get it to work, which is ridiculous.

I did test it in nightly, and as of 86, file input does seem to work mostly normally. Vivaldi has a better file select ui, but . Still ridiculous that it hasn't worked for months in production, and the problem still isn't fixed until it's out of nightly and into the main app. It's things like this that make me wonder if Firefox will ever hold a significant market share again. With stuff like this outstanding, I certainly can't suggest it to others to use.

OMFG it was a permission for the Firefox app itself, in android: support.mozilla.org/en-US/ques

Not sure how/why I turned that off (I'm just going to assume it was me at this point), or why the file upload button does nothing, and gives no feedback, if you don't have on the 'camera' permission, but glad another months long problem for me on ff is finally resolved.

OK, but here's a kicker: even if you've denied access to Firefox for the camera permission, it's possible to bypass that, and still open the file dialog, without actually getting camera permission. support.mozilla.org/en-US/ques

Which was an embarrassing exchange where two people completely talked past each other. But there's a jsfiddle where I get and close the alert, click the browse button, and the file dialog comes up even tho I have Firefox set to deny camera permission and not to ask me anymore.

Basic html input element: developer.mozilla.org/en-US/do

Jsfiddle (I think*) using js click for file upload, but doesn't bypass permissions: jsfiddle.net/NkycS/2/

Jsfiddle for bypassing camera perms after they've been denied: jsfiddle.net/3wJSY/

* I say "I think" because neither MDN's page nor jsfiddle are very mobile display friendly, and another mobile problem I'm having**.

I may create simple reproduction pages on my site with steps and pass this along to Mozilla, if they care. ... ***

Follow

*** If I'm not too tired and cranky from staying up too late investigating this on my phone, I'll try and reproduce and pass along to Mozilla/Firefox team via support? Reddit? Idk.

But if I make those simple reproduction pages, I'll have to paste the escaped source code in my post, or else the dev team won't be able to read it on mobile. Because FIREFOX MOBILE DOESN'T SUPPORT VIEW SOURCE.

I even tried a JS bookmark hack. But you can't add custom bookmarks on mobile either!

· · Web · 1 · 0 · 1
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!