Describe the bug:
Prior to the NC patch, you could use something like to implement scrollbars and whatnot in your widgets
list.addEventListener("scroll", function(e) {
console.log("Scrolling", e.target.scrollTop.toString(), handleHeight.toString());
if(data.disabled) return;
controllerMode = false;
handle.style.top = `${e.target.scrollTop * handleHeight}px`;
})
Post NC patch, the scroll even doesn’t fire at all in the game.
However, the scroll event does fire in the editor.
How do you cause this bug?
- Add a widget, listen for the scroll event in the js code
- Notice the event listener fires in the editor
- Notice the event listener does not fire when previewing the game
Which platform: PC
Which input: keyboard + mouse
Your Crayta username: Cereal
Game seen in (including “Hub” or “Editor for XYZ”): Editor/User Confirmation Package with >2 options
How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time
Time + date seen: September 12 2021
Version number (found in Help tab in Settings): 0.7.639.110013