Comments (8)
More details please? Platform, or include code?
Original comment by [email protected]
on 13 Jan 2012 at 10:58
from dat-gui.
ok.when i run it on chrome,When chrome already load a mesh i cant drop down
the dropdown menu.but on firefox it is ok,i can select the droplist to
clear and load anothermesh. and i found that if option do nothing it
always can drop the list.
�� 2012-1-14 ����6:58�� <[email protected]>���
Original comment by [email protected]
on 17 Jan 2012 at 3:18
from dat-gui.
Hi,
I ran into this same problem actually - dropdowns worked fine for me in Firefox
but Chrome users reported they failed to open when clicked. This happened to
either all the dropdowns, or none.
I think the problem may have been that one of the dropdowns had options that
were not assigned to the variable, i.e.
valRenderer =
folderRender.add(params,'renderMethod',['methodOne','methodTwo']).name('renderMe
thod');
valRenderer.onChange(function(value) {
if ( value == "methodOne" ) {
params.renderMethod = "otherStringOne";
//other things
}
if ( value == "methodTwo" ) {
params.renderMethod = "otherStringTwo";
//other things
}
});
Making these consistent seems to have fixed things (for all dropdowns, though
only one had this issue) in Chrome.
Original comment by [email protected]
on 23 May 2012 at 5:13
from dat-gui.
Hi ravhin,
Can you post the code that works? Sorry, I am not able to figure out what you
mean.
Original comment by [email protected]
on 29 May 2012 at 7:09
from dat-gui.
I have the same issue on Chrome 23.0.1271.95m, Win64, AMD E350 netbook. Works
fine on FireFox on the same machine.
A simple GUI on my page has the issue:
var gui = new dat.GUI(); // height of 30px per control ish
gui.add(obj, "shademode", ["plain", "depthcue", "lightsource"]);
gui.add(obj, "fillmode", ["fill", "filltwice", "inflate", "fillstroke", "hiddenline"]);
Original comment by [email protected]
on 11 Dec 2012 at 10:38
from dat-gui.
I have same issue. But it does not work in firefox either.
var params = {
brush: {
strength: 1.0,
color: "#ae23ff",
type: items.Me
},
path: "#ff23ae",
actions: {
find: function() {}
}
};
var gui = new dat.GUI();
var brush_folder = gui.addFolder("Brush");
brush_folder.add(params.brush, "strength", 0, 1);
brush_folder.addColor(params.brush, "color");
brush_folder.add(params.brush, "type", { Ground : 1, Me : 2, Goal : 4 });
brush_folder.open();
gui.addColor(params, "path");
gui.add(params.actions, "find");
Dropdown simply dows not work. Even though it renders select with all options.
Original comment by [email protected]
on 19 Jan 2013 at 7:17
from dat-gui.
Using three.js or mouseDown-Event??
I had the Problem using dat-.gui dropdown and a mouse-controlled camera with
three.js.
Problem:
event.preventDefault();
Using this line in a MouseListener bound to mouseDown will stop dat.gui
dropdown from working.
Original comment by [email protected]
on 26 Jun 2013 at 7:54
from dat-gui.
That was my issue, thanks
Original comment by [email protected]
on 26 Jun 2013 at 8:30
from dat-gui.
Related Issues (20)
- list stay focus after select HOT 1
- change radius of THREE.SphereGeometry with slider HOT 2
- Add to Bower index
- extremely hard to get to hue field without it disappearing
- Patch for /.gitignore HOT 1
- changing bounds of variable dynamically
- how to disable "h" shortcut?
- Fails when used in Chrome packaged app, since version 34
- Saving parameters with dat.gui seems broken HOT 2
- precision problem HOT 1
- localStorage support check borks in packaged Chrome app HOT 2
- Does not work with bootstrap 3 HOT 2
- Negative floating point range initialises incorrectly
- requestAnimationFrame
- Adding finer control to sliders
- Events not sent when creating a "number" controller with both min() and max() called explicitely
- step() has no effect on a "number" controller with min and max set
- error trying to remove a controller
- How to control checkbox and text in dat.gui?
- Dropdown menu still bugs out, rapidly switching choice selection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dat-gui.