Problem
The "New Scheduled Trigger" dialog causes severe FPS drops (5-7 FPS) when opened, due to background polling firing every 3 seconds and re-rendering the dialog internals.
Please check this Attached Video
https://github.com/user-attachments/assets/23fda2fe-836f-478f-89d2-e1a8e176ad50
Environment
Steps to reproduce
- Go to Triggers page with at least 1 scheduled trigger
- Click "+ New Scheduled Trigger" to open the dialog
- Wait 3 seconds for background poll to fire
- Observe immediate FPS drop — no further interaction needed
Observed via React Scan
- FPS drops to 5-7 every 3 seconds while dialog is open
Primitive.div → 344ms per re-render
Button → 364ms per re-render
- 7x FPS drops recorded
- When dialog is closed, same polling fires with much less impact
Expected
Opening the dialog should have no impact on background polling performance. Re-renders should stay under 16ms to maintain 60 FPS.