SPFX Webpart reverses my math


My employer wants a data driven marquee web part that pulls values from a SharePoint list and ticks it across the page, right to left. I have written the web part and it works perfectly in the workbench and when deployed AND in edit mode of the page. BUT, as soon as I republish the page the web part instead moves the text right (not left) into infinity. I don't even know how to debug this. I am attaching the relevant project files.

0 Replies