
Salesforce Mobile App is a powerful tool that brings the full Salesforce experience to users on the go. It is especially critical for companies with field teams like sales representatives, service technicians, and other mobile workers who need real-time access to their CRM data. It’s very common to use Screen Flows on the Salesforce Mobile App; however, unlike a browser, the mobile app has one major issue that can cause problems for users: pull-to-refresh. Pull-to-refresh is a mobile feature that lets users swipe down on the screen to manually refresh the page or reload the latest data. While it’s useful in some cases, it can disrupt structured processes like Screen Flows by unintentionally resetting or reloading the flow. Therefore, in many situations, you may want to disable the pull-to-refresh feature in the Salesforce Mobile App.
In this post, you can find a component (LWC) that disables pull-to-refresh in Salesforce Mobile and Mobile Publisher apps.
How to Use the Component
1- Install the package using the installation links below.
2- Create a screen flow and add the "Disable Pull to Refresh" screen component to a flow screen.

That’s it! This component doesn’t require any configuration. When the screen loads, it automatically fires an event to disable pull-to-refresh on that specific page in the Salesforce Mobile App.
Example
Here’s a Screen Flow that creates a Case record. As you can see, if you accidentally pull down on the screen, the entire page reloads and the Flow resets. If you’re on the 10th screen of a long Screen Flow, this can be extremely frustrating!

Here’s the version with the Disable Pull to Refresh component. As you can see, the page no longer reloads accidentally.

Notes
- Although it’s mainly used as a Screen Flow component, you can also add it directly to Lightning pages!
- You don’t need to add this component to every Screen element. Once it loads, it disables the pull-to-refresh feature for the entire page.
- This component disables pull-to-refresh for the current page, not the entire app.

Installation Links
Use this link to install in production or developer edition environments.
Use this link to install in sandbox environments.
Leave a Reply