-
|
I have a few popups declared in a content page and this is slowing down the page to navigate to (1-1.5 seconds lag) even if the page does not have any data to load. Is there a way to speed this up? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
We have reviewed your reported issue and tested it using a simplified sample based on the code snippet you provided. During our investigation, we did not observe any performance degradation or page slowdown caused by SfPopup during navigation. This behavior was verified across all supported platforms. Additionally, we would like to clarify that when navigating to a page containing multiple SfPopup instances, all child elements associated with each popup are initialized as part of the page lifecycle. We suspect this may be contributing to page slowdown, especially when multiple popups are declared. As a recommended workaround, we suggest reusing a single SfPopup instance and dynamically updating its ContentTemplate, header, popup configuration, and commands based on the context. This approach reduces initialization overhead and improves performance during navigation. We have also attached a sample implementation that demonstrates how to reuse a single popup with dynamic content and customization. If you continue to experience the issue, could you please share a video reference along with details about the platform (iOS, Android, Windows, etc.) where the slowdown occurs? This information will help us validate the behavior more thoroughly and provide targeted assistance. |
Beta Was this translation helpful? Give feedback.
Answering my own question. I need to add the binding manually.