Forums

white flash on submit

Minnie Mouse 04 Jul, 2019
hi, i have a site with a dark background. the form sits on that. when you click submit there is a semi-transparent white that is applied as its working. I would like to change the color of that or get rid of it entirely. which div do I target? there are many nested....and i cannot "target" it fast enough when the form submits.
healyhatman 04 Jul, 2019
Probably looking for the "loading" class
Minnie Mouse 04 Jul, 2019
I actually saw this happen on your form too. Do you have any idea what / how to Fix this?
Minnie Mouse 04 Jul, 2019
sorry. I don’t mean to be dumb but what is the name of the loading class to target? That was the part I couldn’t figure out...
healyhatman 04 Jul, 2019
It's literally called loading
Minnie Mouse 04 Jul, 2019
lol!!! Ok that is hysterical. s
Thank you!
Minnie Mouse 05 Jul, 2019
so i created a style for a loading class. it doesnt work. since I cannot inspect the div before it submits i cannot see how to override any cascade (nor do I have any solid proof that this div is classed as "loading" -- this is impossible to troubleshoot. any suggestions?
.loading {background-color: rgba (0,0,0, 0.5) !important;}
healyhatman 05 Jul, 2019
right click any div, inspect, edit its class and add "loading" to it.

Or just add loading the any of your element's classes while you're testing it.

Also try the !important tag
Minnie Mouse 22 Jul, 2019
sorry you are not getting this. I know how to do that. This div is being added (or a class being applied) while the form is submitting as far as I can tell. there is no way to right click it in time to see what its called or IDd or anything. None of the divs applied before submit are responsible for the white flash. it is a loading div. I cannot locate it, I believe its being added via javascript possibly. I saw it do this on your website too.
Minnie Mouse 22 Jul, 2019
oh my god, this should not have been this difficult. there is a setting to turn off the animation entirely in the form settings. traced this by examining the javascript and finding the loading class is attached to a subanimation data.
This topic is locked and no more replies can be posted.