- Home /
Question by
rmalex · Aug 07, 2015 at 12:15 PM ·
eventevent triggeringpointermouseover
How do I keep scroll rect working with custom pointer events?
I have a list of buttons in a panel that's scrollable. I've also made a simple script to show a tooltip when the mouse hovers over the button. This works with the Event Trigger script and using the Pointer Enter and Pointer Exit events however when I use this I can no longer scroll by dragging that button, all buttons not using the tooltip work fine. Is there a way to keep the scroll rect working properly?
Comment
Best Answer
Answer by rmalex · Aug 08, 2015 at 12:28 PM
I solved it by recreating the tooltip script to use IPointerEventHandler instead of the event trigger script.
This may be 5 years ago, but you just solved my problem!