Community X.

Connect with other creators, share ideas, give feedback and get the latest product updates.

Oct 15
Edited: Oct 15

Side button behavior

Is there a way to control when and were the side button appears in mobile mode?

I placed it under 'Fixed' , but I want it to disappear when:

  1. User stop scrolling.

  2. The side button shall appear from section <x> .

Thanks




Oct 15Edited: Oct 15

To show a button from a specific location you can use Corvid api - onViewportEnter / Leave.

Select the element or section from which you want to show the button> Copy its ID to the function.

Select the button you want to show and copy its ID.


// >> Something like this:

// To show button
$w("#trigger_element_id").onViewportEnter( (event) => {
    $w("#button_id").show();
});

// To hide button
$w("#trigger_element_id").onViewportLeave( (event) => {
    $w("#button_id").hide();
});

Don't forget to set the button as hide on load


Editor X

Design your boldest creations.