Panel eventListener for scroll

Is there a way to listen for a scroll event in a panel?

This is not working:

document.addEventListener('scroll', function() {
        console.log('scrolling');
});
1 Like

Unfortunately, scroll is not supported yet: https://adobexdplatform.com/plugin-docs/reference/uxp/events-index.html

Thanks @stevekwak

Is it planned to implement scroll?

@tomzag, just to clarify – are you interested in events when your panel UI is scrolled, or when the main ‘canvas’ viewport showing the XD content is scrolled?

I’m talking about the panel UI.