24
Views
3
Comments
Solved
[OutSystems UI] Sidebar in mobile app can't swipe to open (Outsystems UI 2.26.0)
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

I upgraded the Outsystems UI to the latest version (Version 2.26.0)
I noticed that the sidebars cannot open when swiping, only by calling the specific client actions.
The Deprecated version of the Sidebar can use the swipe motion to open, but we lose the control the "normal" sidebar has.
I shared an oml with the problem, the first screen has the "deprecated" sidebar, and the second screen has the "normal" one.

Guess a workaround would be to migrate back all my sidebars to the deprecated version, until a solution is found.

Sidebar.oml
2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hi @Ionut Vrinceanu 

What @Mohammad Shad mentioned is not 100%right (and Ionut already shared his use case in his initial post).

This is indeed a regression that is already under our radar and tracked under the code ROU-12517 (for future reference in the release notes).

A couple of additional things to help clarify:

  • The Deprecated Sidebar and the new Sidebar version don't have the same capabilities since one is the evolution of the other, and not a replacement (even though, for this particular case, they behave similarly).

  • As you can check in the official documentation, to "avoid conflicts with the browser native gestures, the Sidebar pattern only works with gestures on Native Apps, not running as a PWA."

Hope it helps clarify!

Cheers,
GM

2023-12-11 06-11-39
Mohammad Shad

Hi @Ionut Vrinceanu

I checked your OML file. The Sidebar you’re using needs to be manually handled on the client side for open and close actions. It doesn’t support swipe behavior by default.

The swipe-to-open behavior you’re referring to is specific to the mobile side menu / navigation sidebar, not this Sidebar component. That’s why the deprecated version behaves differently.

Share your exact use case, and I can modify the OML accordingly to match the behavior you need.

2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hi @Ionut Vrinceanu 

What @Mohammad Shad mentioned is not 100%right (and Ionut already shared his use case in his initial post).

This is indeed a regression that is already under our radar and tracked under the code ROU-12517 (for future reference in the release notes).

A couple of additional things to help clarify:

  • The Deprecated Sidebar and the new Sidebar version don't have the same capabilities since one is the evolution of the other, and not a replacement (even though, for this particular case, they behave similarly).

  • As you can check in the official documentation, to "avoid conflicts with the browser native gestures, the Sidebar pattern only works with gestures on Native Apps, not running as a PWA."

Hope it helps clarify!

Cheers,
GM

2015-07-28 14-06-34
Vasco Mendes

Hi, I agree with Ionut Stefan. The sidebar had the swipe behaviour before.

On the new version is not working. This is the sidebar, and not the side menu.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.