Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing flickering input fields on iOS and MAC #782

Open
oseloth opened this issue Jan 19, 2022 · 1 comment
Open

Flashing flickering input fields on iOS and MAC #782

oseloth opened this issue Jan 19, 2022 · 1 comment

Comments

@oseloth
Copy link

oseloth commented Jan 19, 2022

Hi all,

I have this crazy issue I can't figure out.
I had datetimepicker working fine few days ago. I updated to the new jQ 3.6.0 and since that I got this flickering going on on all browsers on iPhone and on Safari.

You can see the effect here
In Win Chrome, Android it's working fine as usual.

reverting to older jQuery is not an option. What could have gone wrong here.
Here is the part of the code running this.

It looks like all the field are opening and closing one by one from top to bottom real fast.

`$(document).ready(function () {

     $('#date_from').datetimepicker({
         theme:'light',
          timepicker:false,
           formatDate:'Y/m/d',
            mask:true,
              format:'Y-m-d'
     });
       $('#date_to').datetimepicker({
         theme:'light',
          timepicker:false,
           formatDate:'Y/m/d',
            mask:true,
             format:'Y-m-d'
     });
     
      $('#date_from_time').datetimepicker({
         theme:'light',
          timepicker:true,
          datepicker:false,
            mask:true,
            format:'H:i'
     });
     
        $('#date_to_time').datetimepicker({
         theme:'light',
          timepicker:true,
          datepicker:false,
            mask:true,
            format:'H:i'
     });

     
});`

This im my first gitHub post, so if I wrote something wrong I apologize in front.

@oseloth oseloth changed the title Flashing input fields on iOS and MAC Flashing flickering input fields on iOS and MAC Jan 19, 2022
@oseloth
Copy link
Author

oseloth commented Jan 21, 2022

So it was a stupid error. I was changing something and somehow changed the order of loading scripts so this datetimepickes js was loading before jQuery. I just switched order and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant