Mike Taylor
Mike Taylor
This also reproduces on the current production form -- the green checkmark is visible until the user leaves the input: https://github.com/webcompat/webcompat.com/blob/master/webcompat/static/js/lib/bugform.js#L127-L131
This doesn't seem that important, because it's inside a try/catch, but perhaps something to look into so our CSP logs don't get too annoying.
We could probably fix this by giving the script a nonce, https://webpack.js.org/guides/csp/ -- but that will require python generating parts of the JS (it needs to be a unique nonce...
@softvision-sergiulogigan was it an animated gif by chance? Can you link to the issue you reported? Also curious if this is a difference in behavior from form v1. (You can...
Thanks. We have some issues with GIF. The issues related to gif quality are probably covered in #2785 and https://github.com/webcompat/webcompat.com/issues/2719#issuecomment-459218033 But not displaying a preview is not a known bug,...
One possible place this could happen is here: https://github.com/webcompat/webcompat.com/blob/master/webcompat/views.py#L147-L154
Some things I've learned about cookies and browsers, which can make investigating issues like this confusing: Chrome has a hard limit of 4096 bytes for the entire cookie string. Firefox...
https://webpack.js.org/migrate/5/
Also, v5 is not even a stable release. I'm not interested in beta testing it. :)
To properly handle this, we'll need to implement some kind of "focus trap": https://developers.google.com/web/fundamentals/accessibility/focus/using-tabindex https://medium.com/@islam.sayed8/trap-focus-inside-a-modal-aa5230326c1b