Open wbzy00 opened 1 year ago
I can reproduce this in edge and firefox, but not chrome.
What happens if you move or delete javascript/imageviewerGamepad.js
and reload the page?
I can reproduce this in edge and firefox, but not chrome.
What happens if you move or delete
javascript/imageviewerGamepad.js
and reload the page?
When I rename the js file and re-launch the console, the bug is gone. When I restore the filename and re-launch the console, the bug is back. This is tested on Chrome.
I think this is a bug (or something) in chromium. imageviewerGamepad.js
doesn't do anything that should affect inputs, and even an empty listener does it.
https://jsfiddle.net/k139cnhj/
It's the default behavior in firefox (and does it right; it doesn't scroll the page).
Some people might actually want it to do that, but this effectively disables it. Put it in a new js file.
document.addEventListener("wheel", function() {
if (document.activeElement.type === "number") {
document.activeElement.blur();
}
});
@missionfloyd It worked. Will this bug get fixed in a future release?
Is there an existing issue for this?
What happened?
I'm using Chrome on Windows 10. When putting the blinking mouse cursor "I" (i.e. the input indicator) in a parameter field, and then scroll up or down, the parameter value changes as the UI page is getting scrolled up or down. This bug doesn't not affect users who prefer to use mouse clicking to start Generating, but it affect users who prefer Ctrl + Enter, because the blinking mouse cursor will still be actve in the parameter field when pressing Ctrl + Enter, and would disappear when clicking Generate instead. As a user who prefers to use Ctrl + Enter, I encounter this bug multiple times a day, which is very annoying. I have to be very careful not to let the moue cursor pass any parameter fields when scrolling the UI page up/down in case some parameters get modified accidentally. PS: This bug also affects numerical fields in the Setting page. If a setting got modified unintentionally, that can be quite impactful.
Steps to reproduce the problem
What should have happened?
When the blinking mouse cursor "I" is in a parameter field, the UI page should not move up/down when the user is scrolling up/down the mouse wheel.
Sysinfo
sysinfo-2023-09-30-02-01.txt
What browsers do you use to access the UI ?
Google Chrome
Console logs
Additional Information
My default value of Clip Skip was accidentally changed to from 1 to 2 because of this bug.