You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WP Event Calendar plugin uses the same jQuery UI Datepicker library as CMB2. It looks like CMB2 doesn't just wrap itself, but all datepickers, resulting in broken styling when both are active.
The following code in cmb2.js is the culprit:
// Wrap date picker in class to narrow the scope of jQuery UI CSS and prevent conflicts
$id( 'ui-datepicker-div' ).wrap('<div class="cmb2-element" />');
I'm unsure if there's a way to namespace your own datepickers, but that would circumvent the issue and prevent the conflict this code was designed to prevent (but doesn't really.)
The text was updated successfully, but these errors were encountered:
The WP Event Calendar plugin uses the same jQuery UI Datepicker library as CMB2. It looks like CMB2 doesn't just wrap itself, but all datepickers, resulting in broken styling when both are active.
The following code in
cmb2.js
is the culprit:I'm unsure if there's a way to namespace your own datepickers, but that would circumvent the issue and prevent the conflict this code was designed to prevent (but doesn't really.)
The text was updated successfully, but these errors were encountered: