SA5 Modals Roadmap & Future
Roadmap
Feature | Short Term | Medium Term | Future |
---|---|---|---|
Modal setup in the Webflow designer | 2 DIVs | Possibly only 1 DIV, with auto-frame generation | |
Modal type |
|
| |
Content source |
|
|
|
Modal frame styling |
|
| |
Content admin |
| ||
Triggers ( open ) |
|
|
|
Triggers ( close ) |
|
|
|
Suppression | Defined at the modal level |
|
|
Scrolling | Manually defined at the modal level via custom CSS chunk |
| |
Sizing |
| ||
Positioning | Centered | 9 positions | |
Animation on open / close | Simple predefined |
|
|
Overlay |
|
|
|
Timing |
|
|
|
Competition |
|
|
|
Page behavior |
|
|
|
Analytics |
|
| |
Modal namespaces |
|
Advanced Notes
Controller Integration
On open, close, etc, the modal or triggers invoke the action and the modal is the first responder, however the controller is informed and queried on some actions.
For example, a modal opening at 5000ms and then a different one opening at 8000ms might not be legit. Or a modal opening on a timer, and then a scroll trigger, and then an exit-intent trigger...
Multi-Function Modals
Buttons which perform an action and also close the modal?
Submit an email form
Accept terms
Confirm 18, etc.
Open / Close Animations
default show
grow from a point
slide in right
slide in left
slide in bottom
slide in top
spin in right
fade in
random, or a list of random CSV options
Future
( modal-name ) | ( zone.modal-name )
name will target the first modal found with that name in the page.
zone.name will target the first modal found with that zone and name in the page
wfu-modal-target-zone
= ( zone )
This is a convenience to separate the zone from the name. It's most oftenly used when the name is bound to a CMS slug, and the one needs to group those items separately from other modals in the page.
Modal appearance options
Scroll freeze option
Sound FX
Buttons?
For OK close separate from e.g. hyperlinks or other actions
Cancel?
Allow user to create these, or we default add a button?
Lets us separate content from popup
modal-button
modal-button-class
Support for Forms
wfu
Callback
On OK, Cancel
Things we're considering;
JS API;
Invoke, suppress modal from script
Open event, close event
Last updated