Long Press Me

This plugin is made for the mobile version of your app and lets you do a long press like being on a native app. Plugin is compatible on touch devices such as iPad, iPhone, Android, etc. It also disables any selection (like text) when long pressing. Open the demo on your mobile phone to see the plugin in action. DEMO: https://longpressme-preview.bubbleapps.io/version-test EDITOR: https://bubble.io/page?type=page&name=mobile_index&id=longpressme-preview&tab=tabs-1
Instructions
On Settings-General-Advanced Options, turn on "Expose the option to add an ID attribute to HTML elements"
Install the LongPressMe plugin
Add the LongpressMe visual element into your page and group in into a Group
Write any ID name you like on the "ID Attribute Element" inside that visual element
Now write the same ID on the "ID Attribute" inside the element you want to register the long press (if is a Text or input form, group in into a Group)
Open the Workflow tab
Add the event "A LongPressMe Longpress"
Now you can add you preferred action
The last event should be a "Reset a Group/Popup". As the element, add the Group where the SwipeMe visual element is contained
IMPORTANT:
If you want, for example, to animate or show an item when long pressing, add this to the "A LongPressMe Longpress" event: - On "Only when" add "Name of item" is not visible Refer to the Editor page for help: https://bubble.io/page?type=page&name=mobile_index&id=longpressme-preview&tab=tabs-1 Or on the forum to read other users troubleshootings: https://forum.bubble.io/t/new-plugin-longpressme-long-press-on-mobile/288663
Last updated