Convertigo Public Knowledge base

"scrollTop" property is not defined in EventTarget

If you have this error in your TS code in a CustomAction component, use the following code:

(event.target as HTMLElement).scrollTop;

(c) Convertigo 2023 https://www.convertigo.com