The masks used are very lagged
-
Hello! I use PagSeguro and it requires the Extra Checkout fields. I noticed that in the plugin you use MaskedInput to mask fields and in the panel there is an option that would disable the masks, which does not happen because wp_enqueue_scripts remains loading jquery.maskedinput.js by default.
In my (custom) theme I use a newer jquery plugin compared to maskedinput for masking fields, mask.js, and because of the call being identical to maskedinput, conflicts obviously occur.
I tried removing Maskedinput using wp_deregister_scripts and wp_dequeue_scripts but both interfere with the construction of the transparent checkout made by the PagSeguro plugin.
I would like to suggest that either the option to disable the masks does not load the maskedinput script so that you can use a jquery plugin of my choice or update a jquery plugin with more current and good mask, speaking of usability.
Due to the maskedinput put by default the mask explicit in the field after the focus, a click in the middle of the field will cause the typing to begin from this point, not the beginning of the mask. Before knowing the mask.js I did a script that corrected this maskedinput bug but due to this solution (arranged in mask.js) to solve all the bugs present in the maskedinput and to work very well still by signal, I chose to use it And works perfectly well.
In this case, I am reporting an observation about the option of disabling the masks and suggesting the use of a mascara plugin that works better than the one currently used.
Thank you for your attention.
- The topic ‘The masks used are very lagged’ is closed to new replies.