-
Turn off 'improperly configured forms' error:
- Error: Oops! This page has improperly configured forms. Please contact your website administrator to fix this issue.
- Solution:
webflow.js#1164:
function init() { return; // <---------- add this line siteId = $('html').attr('data-wf-site'); $forms = $(namespace + ' form'); if (!$forms.length) return; $forms.each(build); }
-
Fix nested drowdown close error:
- Error: When you click an item in a nested dropdown, the outer dropdown closes
- Solution:
- webflow.js#951
function outside(data) { // Unbind previous tap handler if it exists if (data.outside) $doc.off('tap' + namespace, data.outside); // Close menu when tapped outside return _.debounce(function(evt) { if (!data.open) return; var $target = $(evt.target); if ($target.closest('.w-dropdown-toggle').length) return; if ($target.hasClass('w-keep-dropdown-open')) return; <---------- add this line if (!data.el.is($target.closest(namespace))) { close(data); } }); }
- on all elements that you do not want to trigger drowdown close, add the class 'w-keep-dropdown-open'
- webflow.js#951
-
Make javascript work (this is related to javascript powered animation):
When we use webflow in React, Angular or other frameworks, the javascript only initialize once and is not necessarily triggered after the dom is ready. This cause the javascript to break.
-
Error: Javascript does not work.
-
Solution: run the following when the dom is ready:
window.Webflow.destroy(); window.Webflow.ready();
-
-
Notifications
You must be signed in to change notification settings - Fork 1
poetic/webflow-tricks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Webflow tricks for app developers
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published