mflux / aframe-datguivr

A-Frame component for datGUIVR
MIT License
24 stars 7 forks source link

Clicking on the GUI can cause it to disappear #3

Open bryik opened 7 years ago

bryik commented 7 years ago

I was testing this component out and noticed that clicking on the top of the GUI (the first bar with the notches in the middle) causes it to disappear. I suspect it is attempting to initiate drag behaviour but fails.

CodePen.

cwervo commented 7 years ago

Weirdly enough I was working on an alternate syntax for #2 and noticed that it's draggable, while the ones generated by the component disappear on every drag attempt. (Codepen) Worth comparing to the primitive initialization.

jul-07-2017 13-10-46

cwervo commented 7 years ago

Oh, interesting, it's not actually disappearing!

When it initially disappears, the gui actually goes up & to the right of the viewport (see GIF below), from then on it is draggable, but it appears to be consistently misaligned with the input's location.

jul-07-2017 13-18-36

bryik commented 7 years ago

Ha! I didn't notice that.

I suppose avoiding the primitive is acceptable for now. But I wonder why it teleports like that :thinking: