Hi Syman,
Data Loading: If your popup is displaying additional information related to the task, ensure that the data loading process is efficient. If you're fetching more data from the server when the popup opens, it might cause delays when closing. Optimize your data retrieval by using efficient associations and indexing.
Dynamic Classes: If your popup's dynamic classes or conditional formatting involve complex logic, they could slow down the rendering of the popup and impact its performance. Simplify and optimize these expressions if possible.
Snippets and Widgets: If you're using snippets and widgets within the DataGrid2, they can impact performance. Each snippet or widget might trigger additional rendering and processing. Check if any of these components are causing the delay. Consider optimizing or simplifying them.
Client-Side Actions: Any client-side actions that run when the popup is opened or closed might contribute to the delay. Check if you have any microflows or nanoflows running during these events. Simplify or optimize these actions if they are resource-intensive.
Event Handling: Review the events associated with the popup. For example, if there are "On Load" or "On Close" microflows, they might be causing the slowdown. Make sure these actions are necessary and streamlined.
Data Refresh: If your DataGrid2 is tied to a microflow that refreshes data when the page regains focus, it could impact performance. Consider whether refreshing the data on focus is necessary, and if possible, optimize this process.
Page Size and Layout: If your popup has a complex layout or a large number of widgets, it could slow down rendering. Simplify the layout if feasible. Also, make sure the page size isn't excessively large, as it can impact performance.