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
Hello, I get this error in the console when I open a select that is styles true JCF plugin
Cannot read property 'defaultView' of undefined
when I use the wrapper on the native selects. These are my JS settings:
// initialize custom form elements
function initCustomForms() {
jcf.setOptions('Select', {
maxVisibleItems: 8,
wrapNative: false,
wrapNativeOnMobile: false,
fakeDropInBody:false,
});
var app = $('#app');
jcf.replaceAll(app);
}
The error is generated from this piece of script in Jquery:
var getStyles = function( elem ) {
// Support: IE <=11 only, Firefox <=30 (#15098, #14150)
// IE throws on elements created in popups
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
var view = elem.ownerDocument.defaultView;
if ( !view || !view.opener ) {
view = window;
}
return view.getComputedStyle( elem );
}
Console debuggers shows that the elem argument is undefined.
Could you please help me to find where this bug is comming from. For your information, your plugin is used as part of the code you provided in a project via psd2html service. It is used in a laravel framework. Please let me know if you need extra info..
Tnkz for your time
The text was updated successfully, but these errors were encountered:
Hello, I get this error in the console when I open a select that is styles true JCF plugin
Cannot read property 'defaultView' of undefined
when I use the wrapper on the native selects. These are my JS settings:
// initialize custom form elements
function initCustomForms() {
jcf.setOptions('Select', {
maxVisibleItems: 8,
wrapNative: false,
wrapNativeOnMobile: false,
fakeDropInBody:false,
});
}
The error is generated from this piece of script in Jquery:
var getStyles = function( elem ) {
Console debuggers shows that the elem argument is undefined.
Could you please help me to find where this bug is comming from. For your information, your plugin is used as part of the code you provided in a project via psd2html service. It is used in a laravel framework. Please let me know if you need extra info..
Tnkz for your time
The text was updated successfully, but these errors were encountered: