psychojs icon indicating copy to clipboard operation
psychojs copied to clipboard

Text Component contains method not working with mouse clicks

Open dvbridges opened this issue 5 years ago • 1 comments

See the URL below for an example. In the example, a valid click of either the "Click Me!" text or the polygon rect should end the trial. The text component that does not register valid clicks with the mouse, and the trial does not end when the text component is clicked. The polygon component works correctly to end the trial when clicked.

URL to example https://pavlovia.org/run/dvbridges/textcontains/html/

dvbridges avatar May 29 '19 09:05 dvbridges

But there is a workaround where we put a (possibly transparent) box behind the text

peircej avatar Aug 01 '19 14:08 peircej