Quick Tips

Browse through our library of quick video lessons that will show you what Bubble can do and and how you can use it.
NOW PLAYING

How to Use the Popup Element •  1:15 min

In this quick tip we learn how to use the Popup element in practice.
How to Change the Refresh Banner Text thumbnail
How to Change the Refresh Banner Text •  1:01 min
Hosting
How to Use the Animate Action thumbnail
How to Use the Animate Action •  1:12 min
Actions, Workflows
How to Group Elements Together thumbnail
How to Group Elements Together •  0:52 min
Elements
How to Collapse Group Heights thumbnail
How to Collapse Group Heights •  1:08 min
Layouts & responsive
How to Use the ScrollTo Action thumbnail
How to Use the ScrollTo Action •  0:58 min
Actions, Workflows
How to Color Code Your Workflows thumbnail
How to Color Code Your Workflows •  0:33 min
Workflows
How to Create Your Own Color Palette thumbnail
How to Create Your Own Color Palette •  0:33 min
Styles
How to Use Inline Page Search thumbnail
How to Use Inline Page Search •  0:40 min
Editor
How to Find Anything Using The App Search Tool thumbnail
How to Find Anything Using The App Search Tool •  1:16 min
Editor
How to Center Elements thumbnail
How to Center Elements •  1:19 min
Layouts & responsive
How to Swap Element Positions thumbnail
How to Swap Element Positions •  0:45 min
Layouts & responsive
How to Ungroup Elements thumbnail
How to Ungroup Elements •  0:42 min
Elements
How to Use the Toggle Action thumbnail
How to Use the Toggle Action •  0:48 min
Actions, Workflows
How to Setup Run-Mode Protection thumbnail
How to Setup Run-Mode Protection •  0:55 min
Settings, Run-mode
How to Add Collaborators to Your App thumbnail
How to Add Collaborators to Your App •  1:08 min
Hosting, Settings, Editor
How to Leave a Comment Anywhere in Your App thumbnail
How to Leave a Comment Anywhere in Your App •  1:02 min
Editor
How to Add a Data Type as a Custom Field  thumbnail
How to Add a Data Type as a Custom Field  •  1:14 min
Data
How to Use the Right-Click Menu thumbnail
How to Use the Right-Click Menu •  1:18 min
Editor
How to Use the Popup Element thumbnail
How to Use the Popup Element •  1:15 min
Elements
How to Use the Popup Element thumbnail
How to Use the Popup Element •  1:15 min
Elements
How to Use the Page Load Event thumbnail
How to Use the Page Load Event •  1:18 min
Events, Workflows
How to Organize Your App Using Page Folders thumbnail
How to Organize Your App Using Page Folders •  0:50 min
Editor
How to Create Data Types in the Workflow Tab thumbnail
How to Create Data Types in the Workflow Tab •  0:49 min
Workflows, Data
How to Preview Element Conditions thumbnail
How to Preview Element Conditions •  0:49 min
Elements
How to Run Your App In Safe Modes thumbnail
How to Run Your App In Safe Modes •  1:00 min
Run-mode
How to Set a New Index Page thumbnail
How to Set a New Index Page •  0:45 min
Hosting, Settings
How to Trigger Workflows From Input Changes  thumbnail
How to Trigger Workflows From Input Changes  •  1:27 min
Events, Workflows
How to Use the Alert Element thumbnail
How to Use the Alert Element •  1:26 min
Elements
How to Use the Do a Search For Data Source thumbnail
How to Use the Do a Search For Data Source •  1:38 min
Data sources
How to Use Search Constraints thumbnail
How to Use Search Constraints •  1:26 min
Data sources
How to Use Ignore Empty Constraints thumbnail
How to Use Ignore Empty Constraints •  1:03 min
Data sources
How to Use the Value Operator thumbnail
How to Use the Value Operator •  1:02 min
Data operators
How to Use the Count Operator thumbnail
How to Use the Count Operator •  1:12 min
Data operators
How to Create New Database Views thumbnail
How to Create New Database Views •  1:47 min
Data
How to Set Primary Fields For Your Data Types thumbnail
How to Set Primary Fields For Your Data Types •  1:28 min
Data
How to Build Expressions thumbnail
How to Build Expressions •  0:59 min
Data sources, Data operators
How to Use Type Of Content thumbnail
How to Use Type Of Content •  1:07 min
Elements, Data sources
How to Instantly Modify Data With Autobinding thumbnail
How to Instantly Modify Data With Autobinding •  1:46 min
Data
How to Use Text Transform Operators thumbnail
How to Use Text Transform Operators •  1:28 min
Data operators
How to Dynamically Sort Using Change Which Field thumbnail
How to Dynamically Sort Using Change Which Field •  1:09 min
Data sources
How to Use Element Transitions thumbnail
How to Use Element Transitions •  1:06 min
Styles
How to Use the Formatted As Operator For Numbers thumbnail
How to Use the Formatted As Operator For Numbers •  1:22 min
Data operators
How to File a Bug Report thumbnail
How to File a Bug Report •  1:18 min
Hosting
As part of the visual elements for our application, we may want to include popups that open on our page when a button is clicked.
1. Add a popup element to the page


To get started, we can add a popup to our Bubble page by clicking on the “Popup” element in the visual elements panel and dragging it onto our page. Once we have a popup on our page, we can see that, when the popup is selected, the rest of our page is greyed out.

2. Modify the greyout blur settings


If we want to have a lighter color to grey out our page when the popup is open, we can modify this in the Style tab of our editor. We’ll click on the Style for the popup element, and modify the “Greyout color” field. If we want this to be more or less opaque, we can also update the “Greyout blur” option; higher numbers mean a more opaque overlay.

3. Add a button to show the popup

Now, to display our popup to our users, we’ll need to add a button to our page. Once we’ve added a button, we can add a workflow step to Show a Popup, and select our popup that we created in step 1. If we preview this page, we can press the button and see that the popup fades into our page.

By default, clicking outside of the popup will close the popup. We can modify this behavior by checking off the “This popup can’t be closed by pressing ‘Esc’” checkbox in the element’s editor; this will prevent a user from being able to close the popup by clicking back onto the page.
Bubble