MAUI SfNavigationDrawer - Unusable without the Bindable IsOpen Property

Hi,

We have been waiting many months for the Xamarin SfNavigationDrawer control to be ported to MAUI so we could migrate a vital remaining part of our Xamarin App.

However, upon getting Vol 4 release we discovered the most important property that we need to use 'IsOpen' (which was Two Way Bindable) does not appear to have been implemented at all for MAUI??

This is basically unusable without this bindable property. We need an explicit way to both control opening and closing of the drawer (a Toggle method is not useful) and a programmatic way to determine if it's open or not (watching for events is not suitable - we needed the bindable bool property).

Can you please implement this IsOpen property ASAP so this can be used & advise when this can be done? Failing that, an explicit Open() and Hide() methods along with a method to get the current open/closed state would be a suitable workaround (definitely not as ideal as the IsOpen however as we'd be breaking our pure MVVM pattern and we'd need extra code to try and persist state when returning to the page).

thanks

Niall


8 Replies

AJ AhamedAliNishad JahirHussain Syncfusion Team December 20, 2023 02:20 PM UTC

Hi Niall,


We have reviewed your query and have created a new feature request "Provide IsOpen property support for .NET MAUI SfNavigationDrawer " based on your requirement. After the IsOpen property implementation, you can able to toggle the drawer from ViewModel. Please find the link below to track the status of the feature implementation.


Feedback link: https://www.syncfusion.com/feedback/49366/provide-isopen-property-support-for-net-maui-sfnavigationdrawer


This feature will be available in our volume 1 service pack release, 2024 tentatively scheduled for the end of January 2024.


If you have any more specifications/suggestions for the feature request, you can add them as a comment in the portal. We will share the release details in the feedback itself.


Disclaimer: Please note that the availability timeline of the feature may be subject to change


Regards,

Kamalesh P



NI Niall December 20, 2023 11:52 PM UTC

HI Kamalesh,

Thanks for the response.

I am not able to access this feedback link above - it shows error message saying 'Access Denied - the private feedback is not associated with your account'.

I understand adding the IsOpen property may take until Vol 1/2024 release (which makes it very hard for us given our launch schedule). 

In the short term (ie. next weekly update for 2023/Vol 4) Is there some way at least you can provide additional method so we can determine if the Navigation Drawer is actually open or not (so then we could at least know whether we need to call the toggle method). Even if this is just a method we can directly call from code behind rather than a new bindable property? This would at least give us some sort of workaround that didn't rely on watching events (which will not work once user has navigated to other pages etc). If there is any other hack/built in functionality right now that can achieve this please advise also.

thanks
Niall



AJ AhamedAliNishad JahirHussain Syncfusion Team December 21, 2023 03:14 PM UTC

Hi Niall,


Query 1: I am not able to access this feedback link above - it shows error message saying 'Access Denied - the private feedback is not associated with your account'.


We would like to inform you that you can now access and review the feedback regarding the feature of the IsOpen property support for the SfNavigationDrawer in .NET MAUI. This enhancement is anticipated to be available in the Volume 4 service pack release of 2024, tentatively scheduled for the end of January 2024.


Provide IsOpen property support for .NET MAUI SfNavigationDrawer in .NET MAUI | Feedback Portal (syncfusion.com)


Query 2: In the short term (ie. next weekly update for 2023/Vol 4) Is there some way at least you can provide additional method so we can determine if the Navigation Drawer is actually open or not (so then we could at least know whether we need to call the toggle method)


We would like to inform you that you can utilize the argument of ToggledEventArgs in the DrawerToggled event of the SfNavigationDrawer to determine whether IsOpen is true or false.


At present, a custom nuget has been created for version 24.1.41. We have attached the custom NuGet file for your convenience.


Please note that we have created this patch for version 24.1.41 specifically to resolve the issue reported in this ticket. If you have received other patches for the same version for other products, please apply all patches in the order received.


Please clear the NuGet cache, before using the latest one and please refer to the below link for this

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache


Please refer the below KB to install the custom NuGet on a local machine,

https://support.syncfusion.com/kb/article/14586/how-to-install-the-maui-custom-nuget-in-the-windows-machine


This fix will be included in our upcoming weekly release on December 27, 2023. We will notify you once NuGet is released and appreciate your understanding and patience until that time.


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


Regards,

Ahamed Ali Nishad.



Attachment: Syncfusion.Maui.NavigationDrawer.24.1.41_9629fb1e.zip


AJ AhamedAliNishad JahirHussain Syncfusion Team December 27, 2023 02:07 PM UTC

Hi Niall,

 

Query 2: In the short term (ie. next weekly update for 2023/Vol 4) Is there some way at least you can provide additional method so we can determine if the Navigation Drawer is actually open or not (so then we could at least know whether we need to call the toggle method)

 

We have included the fix for the argument of ToggledEventArgs in the DrawerToggled event of the SfNavigationDrawer to determine whether IsOpen is true or false in our latest weekly NuGet release v24.1.43 which is available for download ( https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

 

Regards,

Ahamed Ali Nishad.



NI Niall December 28, 2023 01:26 AM UTC

Hi Ahamed,

Thanks for the update.

I wasn't aware the ToggleEventArgs was also broken right now (and good that's been fixed), but just to clarify, for a 'workaround' we really need a way to definitively determine if the Drawer is open or not without relying or waiting on an event to be raised (which for many scenarios may be unreliable). 

ie.  a Method or Property that can be called which returns a true or false indicating if drawer is open, so then we can determine if we need to call ToggleDrawer method to get it into state we want.

As per original post - the full solution really needed is : 

  • Bindable 'IsOpen' property which we can set via MVVM to toggle this state.
  • And then also for completeness - explicit Close() and Show() methods to directly set this drawer state (which I would imagine may others would find useful). This would also bring it into alignment with the MAUI Shell Navigation Drawer (which offers these methods) and provide a simple and easy way for developers to migrate to your control.

thanks
Niall



AJ AhamedAliNishad JahirHussain Syncfusion Team December 28, 2023 12:35 PM UTC

Hi Niall,


Query: we really need a way to definitively determine if the Drawer is open or not without relying or waiting on an event to be raised (which for many scenarios may be unreliable).  ie.  a Method or Property that can be called which returns a true or false indicating if drawer is open, so then we can determine if we need to call ToggleDrawer method to get it into state we want.


As previously mentioned, Currently, We don’t have a property to determine if the drawer is open or closed in .NET MAUI SfNavigationDrawer. Therefore, we have created the feature request "Provide IsOpen property support for .NET MAUI SfNavigationDrawer " based on your requirement.


Please find the link below to track the status of the feature implementation.


Feedback link:  https://www.syncfusion.com/feedback/49366/provide-isopen-property-support-for-net-maui-sfnavigationdrawer


This feature will be available in our volume 4 service pack release, 2024 tentatively scheduled for the end of January 2024.


Disclaimer: Please note that the availability timeline of the feature may be subject to change


Regards,

Ahamed Ali Nishad.



AJ AhamedAliNishad JahirHussain Syncfusion Team January 24, 2024 02:46 PM UTC

 

Hi Niall,

 

Query: we really need a way to definitively determine if the Drawer is open or not without relying or waiting on an event to be raised (which for many scenarios may be unreliable).  ie.  a Method or Property that can be called which returns a true or false indicating if drawer is open, so then we can determine if we need to call ToggleDrawer method to get it into state we want.

 

We apologize for the inconvenience caused. We would like to inform you that the support for the IsOpen property in the .NET MAUI SfNavigationDrawer has been postponed to the Volume 1 release, tentatively scheduled for the end of March 2024, due to some high-priority tasks. We will notify you once the Volume 1, 2024 release is available. We appreciate your patience and understanding during this time.

 

Please find the link below to track the status of the feature implementation.

 

Feedback link:  https://www.syncfusion.com/feedback/49366/provide-isopen-property-support-for-net-maui-sfnavigationdrawer

 

This feature will be available in our volume 1 main release, 2024 tentatively scheduled for the end of March 2024.

 

Disclaimer: Please note that the availability timeline of the feature may be subject to change

 

Regards,

Ahamed Ali Nishad.



BV Brundha Velusamy Syncfusion Team March 18, 2024 02:34 PM UTC

Hi Niall,

 

We are glad to announce that our Essential Studio 2024 Volume 1 Main Release v25.1.35  is rolled out and is available for download under the following link.

 

Essential Studio 2024 Volume 1 Main Release v25.1.35 is available for download | Announcements Forums | Syncfusion

 

We have included support for opening the drawer programmatically in .NET MAUI SfNavigationDrawer in our latest nuget v25.1.35 which is available for download (   https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

You can utilize the IsOpen property to open the drawer programmatically in .NET MAUI SfNavigationDrawer. For further details, please refer to the following link for the help documentation of the IsOpen property in SfNavigationDrawer in .NET MAUI.

 

IsOpen property: SfNavigationDrawer IsOpen property

 

Regards,

Brundha V


Loader.
Up arrow icon