File-Explorer icon indicating copy to clipboard operation
File-Explorer copied to clipboard

no password can be entered - Safari IOS13

Open tro4444 opened this issue 6 years ago • 2 comments

in safari & firefox under ios13, no password can be entered, the characters are not taken over in the password field

tro4444 avatar Oct 20 '19 21:10 tro4444

Tried on Chrome and Brave and both have the same problem, only can type the first character.

carmolim avatar Oct 23 '20 16:10 carmolim

I was having the same issue on Safari on iOS 14. After doing some digging, I found the issue and how to fix it.

The developer of this beautiful web application coded it with an incorrect use of input webkit-user-select, which is one of the syntax frameworks used in mobile Safari.

The code found within the main (and only important file), explorer.php, contains a few errors in all of the webkit syntax used. The current unmodified code shows:

Lines 512 603, 753, 2718, 2918, and 3133: -webkit-user-select: none;

Having this setting will cause 'freezing' while typing or not allow you to type at all in a text-input field

The fix is changing the webkit to the correct standard for text-input fields: -webkit-user-select: text;

The way I implemented the fix was to use a find-and-replace tool to replace all text stating -webkit-user-select: none; to -webkit-user-select: text;.

I even took it one step further, just as a fail safe, by changing all user-select: none syntax to user-select: text. Note that making these changes would not impact the web application whatsoever.

After making these changes, just save the explorer.php file and upload to your server. It should now work on iOS and devices that use webkit.

Attached is explorer.txt, since you cannot upload .php files to GitHub: explorer.txt

@webcdn

pgpillar avatar Jun 03 '21 21:06 pgpillar