Prohibit Swipe on View

Hey!

Working on a login view, which is currently a web view that I’m navigating to. Currently when user is logged out an page loads, it will navigate to this view. I’m not seeing a way to prevent the user from swiping away from it in Stack Navigation or Modal Nav. Is this possible and I’m just missing it?

Or potentially, anyone else have a better solution for handling a login view? I thought about putting it on the home view but then I don’t believe I’d be able to hide the tab bar at the bottom conditionally yet. Maybe I haven’t found that yet though.

Can you put the login screen in a Floating Group that mimics a view but cannot be closed with a swipe?

That’s a good question. I haven’t done any testing to see if a full screen floating group would cover the tab bar or not. Good idea :slight_smile:

I just did a quick test and it does not cover the tab bar unfortunately, sorry!

Yeah I noticed that as well. It was a good idea and one that I hadn’t thought of! Thanks for the help!

2 Likes

Known issue right now :confused:

Our plan is to address this by most likely allowing the developer to choose if they want swiping back to be blocked (in the case of sensitive page redirects). Will keep the forum in the loop as far as when this gets implemented

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.