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?

I solved it by recreating the tooltip script to use IPointerEventHandler instead of the event trigger script.