aframe-datguivr icon indicating copy to clipboard operation
aframe-datguivr copied to clipboard

Clicking on the GUI can cause it to disappear

Open bryik opened this issue 8 years ago • 3 comments

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.

bryik avatar Jun 27 '17 20:06 bryik

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 avatar Jul 07 '17 11:07 cwervo

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

cwervo avatar Jul 07 '17 11:07 cwervo

Ha! I didn't notice that.

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

bryik avatar Jul 07 '17 18:07 bryik