Schedule State Persistence

I am unable to get the Blazor state persistence working as anticipated for the schedule.


I am using the newest Nuget package, SfSchedule component.  I gave the component a unique ID and have 

EnablePersistence set to true.  However when I refresh events, move from month to month, or refresh the page, the scroll bar is always at the top.  Is there something I am missing here?


4 Replies

AK Ashokkumar Karuppasamy Syncfusion Team January 23, 2025 01:53 PM UTC

Hi Zachary Witt ,

If the 'Enable Persistence' property is set to true in your SfSchedule component, this setting allows the scheduler to retain the current view and selected date, but not the scrollbar position. Please let us know if you need any further assistance.

Regards,
Ashok



ZW Zachary Witt January 23, 2025 03:07 PM UTC

Okay, the documentation states that the scroll position will be retained..  


https://blazor.syncfusion.com/documentation/scheduler/state-persistence



AK Ashokkumar Karuppasamy Syncfusion Team January 24, 2025 12:57 PM UTC

Hi Zachary Witt ,

We consider your reported query with " Scroll position is not persisting when 'EnablePersistence' is set to true in the Blazor Scheduler" as a bug and logged the defect report. The fix for this defect will be included in our upcoming weekly  patch release, which is expected to be rolled out by the February 11, 2025. You can track the status of the fix at the following link:


Feedback link: Scroll position is not persisting when 'EnablePersistence' is set to true in the Blazor Scheduler in Blazor | Feedback Portal

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,
Ashok



AK Ashokkumar Karuppasamy Syncfusion Team February 6, 2025 07:18 AM UTC

Hi Zachary Witt ,


On our end, we have checked and validated your reported query regarding not maintaining the scroll position properly while navigating month to month, refreshing the page, or calling the RefreshEvents method. We have tried to replicate the issues in the below shared samples but we are un able to replicate the issues The functionality is working as expected, and no issues were observed.

Please find the attached sample and video demo for your reference.

Sample: https://blazorplayground.syncfusion.com/BtBoDVjnreJObdxg

Video: Attached as Zip;

To proceed with further validation, we request additional details, such as:


  • A video demo of the issue
  • A sample that replicates the issue
  • The entire schedule-related code snippets
  • The steps to replicate the issue


This will help us align our understanding with your expectations and provide you with the best possible assistance.
 

Regards,

Ashok



Attachment: Schedulesample_77c501b9.zip

Loader.
Up arrow icon