Search Issue Tracker

Fixed in 5.6.0

Votes

0

Found in

5.4.0f3

Issue ID

831631

Regression

No

Mouse Input: can't drag HTML5 sliders in embedding page

WebGL

-

-e: see title, any interaction with the browser that involves a click and drag is not functioning.

-repro:
--create new project
--save scene
--build for WebGL
--open index.html in editor
--add <input type="range"> anywhere on the page, or an element with the "draggable" attribute
--load build in a browser
--try dragging the slider
--NOTICE the input range slider is not draggable, however you can click along the slider to move the value

-workaround:
--do a new WebGL build, this time as a "Development" build so your build isn't obfiscated, compressed, and minified
--open up <buildfilename>.js in your build folder
--find registerMouseEventCallback function
--comment or delete "e.preventDefault();"
--save and reload the page. Now your <input type="range"> or element with "draggable" attributes are working correctly

Comments (1)

  1. madamori9

    May 28, 2020 07:52

    I just went through the issue on the page, and I’m glad it has been fixed. However, for those that would like to access the Library Genesis, I would recommend you read more about it. It is a platform with the largest collection of downloadable ebooks on the Internet: https://zerofy.ng/libgen-proxy-sites/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.