SIdebar getting closed on cursor swipe.

I'm using syncfusion's sidebar component. With toggle function it's working perfectly. But when I swipe the cursor on the screen sidebar automatically gets closed. Please help.jpeg-optimizer_Screenshot from 2023-10-03 18-27-33.png


2 Replies

PM Prasanth Madhaiyan Syncfusion Team October 4, 2023 11:55 AM UTC

Hi Sharad,


Greetings from Syncfusion support.


We have checked your reported query in the React Sidebar component by preparing the sample. We understand that you are facing an issue when swiping the Sidebar component closed at your end. We would like to let you know that this is the default behavior of the Sidebar component. To prevent this, you need to set the enableGestures property value as false. By default, the value of this property is true in the Sidebar component.


For your reference, we have attached the sample.


Sample: https://stackblitz.com/edit/react-z3jsn6-p83rlo?file=index.js


Check out the attached sample and let us know if you need any further assistance.


Regards,

Prasanth Madhaiyan.



SH Sharad Hake October 4, 2023 12:40 PM UTC

Thank you !!!


Loader.
Up arrow icon