khoih-prog / ESPAsync_WiFiManager

This is an ESP32 (including ESP32-S2 and ESP32-C3) / ESP8266 WiFi Connection Manager, using ESPAsyncWebServer, with fallback web configuration portal. Use this library for configuring ESP32, ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson 6.0.0+ as well as 5.13.5- . Using AsyncDNSServer instead of DNSServer now.
MIT License
290 stars 73 forks source link

Click focus js bug on wifi page #71

Closed idkq closed 2 years ago

idkq commented 2 years ago

Describe the bug

Weird behavior with focus. When I click on the name of the network link it populates SSID and SSID1 fields and move the focus to SSID1 password. When I start typing the password, the first char populates the first password box and then the focus moves to the second password box.

Steps to Reproduce

On page wifi:

  1. Click on the link of the network (in my case first link)
  2. Type password.

You should see the first char in password box 1 and the rest on password box 2

ezgif-7-7d15135b4ada

Also why does it populate 2 fields? Why do we have 4 boxes for user/pwd? I assume if user wants to add additional networks if one fails? How to remove SSID/pwd boxes?

idkq commented 2 years ago

Tested on safari and chrome

khoih-prog commented 2 years ago

Hi,

Thanks for your interests in the library.

It seems that your issue is strange and unique, system dependent as I can't duplicate here, using Chrome and Ubuntu Linux.

Selection_076


Also why does it populate 2 fields? Why do we have 4 boxes for user/pwd? I assume if user wants to add additional networks if one fails? How to remove SSID/pwd boxes?

I'm frustrated when the good feature, requested and useful to many people, is not fully understood and considered redundant. Anyway, nothing can fit all.

I suggest you to read Major Releases v1.1.1 and use pre-v1.1.1 if requiring only 1 SSID. Or you can even ignore the 2nd SSID by leaving it blank.

There is no easy way to remove the MultiWiFi feature in releases v1.1.1+ and it's not recommended.