Page 1 of 1

I can drag click responses across the screen

Posted: Wed Nov 16, 2022 9:27 am
by maxvsthegames
Hi,

There's a strange issue with the responses menu. I seem to be able to click on a response and then drag it around the screen. I didn't modify anything code-wise, so I'm not sure why this is happening.

It also causes another issue. When you drag click an option, it gets highlighted as if you were hovering over it. If you then hover over the another response, both are shown highlighted.

Here's a gif showing the issue:
Image

Is this a known issue? Any way to fix this?
Thanks.

Re: I can drag click responses across the screen

Posted: Wed Nov 16, 2022 11:54 am
by Tony Li
Hi,

That's standard Unity UI ScrollRect behavior. It's not specific to the Dialogue System. You can get rid of it in two ways:

1. Remove the ScrollRect. You can also remove the Scrollbar in this case because the menu won't be scrollable. So make sure you leave enough vertical space for the maximum number of response buttons you intend to show.

2. Or change the ScrollRect's Movement Type to Clamped.

Re: I can drag click responses across the screen

Posted: Wed Nov 16, 2022 12:02 pm
by maxvsthegames
Thanks!

Re: I can drag click responses across the screen

Posted: Wed Nov 16, 2022 12:55 pm
by Tony Li
Glad to help!