Description of the issue:
the onblur event is firing twice when leaving an input field, causing a problem.
Steps to Reproduce (add as many as necessary): 1. 2. 3.
- Create input fields on webpage
- Add onblur attribute to input fields to:
a. Post message to javascript log
b. Send the value of the input to the server via ajax
c. Server receives new value and id of field , which it uses to update database
d. Observe onblur firing twice
Actual Result (gifs and screenshots are welcome!):
Expected result:
onblur fires once instead of twice.
Reproduces how often:
Whenever editing data in fields with onblur event.
Operating System and Brave Version(See the About Brave
page in the main menu):
macOS 10.15.4
Brave Version 1.20.31 Chromium: 88.0.4315.5 (Official Build) nightly (x86_64)
(https://brave.com/latest/)
Additional Information:
Image where the problem is happening
To login to where you can access the page with the problem, use these credentials, then navigage as shown in video
(unfortunately, the problem has been fixed on the demo page, so the problem no longer can be run. However, it can be viewed in the video linked below).
URL https://hlows-dev.work/rmw_baselines/0base/_0base.php
u [email protected]
p simple
LINK to VIDEO showing and explaining problem:
https://legacy-systems.biz/longview2500/public_links/public/programming/brave_onblur_problem/