Group Focus Dynamic Offset

Description

Mahad Haqqi

Last Update hace 2 años

Align Bubble's Group Focus dynamically with reference elements. Ideal for dropdowns, tooltips, or contextual pop-ups. Automatically calculates and applies offsets for precise positioning.

Instruction

  1. Setup IDs:

    • Assign unique HTML IDs to your reference elements and Group Focus.
    • Horizontal/Vertical Offsets: Adjust as needed.
  2. Add Workflow Action:

    • Use the "Calculate" action.
    • Input:
      • Reference Element ID: ID of the triggering element.
      • Group Focus ID: ID of the Group Focus.

        Preview:
    • Ensure Group Focus visibility is set correctly in your app logic.
    • Test positioning for accuracy.

That's it! Your Group Focus will dynamically align with the reference element every time the action runs.

Was this article helpful?

0 out of 0 liked this article