Giter VIP home page Giter VIP logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
More details please? Platform, or include code?

Original comment by [email protected] on 13 Jan 2012 at 10:58

from dat-gui.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
That was my issue, thanks

Original comment by [email protected] on 26 Jun 2013 at 8:30

from dat-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.