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

[Bug] Datepicker is not working #122

Open
sxshateri opened this issue Oct 12, 2020 · 9 comments
Open

[Bug] Datepicker is not working #122

sxshateri opened this issue Oct 12, 2020 · 9 comments

Comments

@sxshateri
Copy link

Version

1.0.1

Reproduction link

https://gitlab.com/sxshateri/devindex-ui/-/blob/master/profileEdit_2.html

Operating System

windows 10

Device

PC

Browser & Version

Chrome 86.0.4240.75

Steps to reproduce

all dependencies and requirements are added.
the .datepicker class is added to the input field.
tested with different browsers and incognito mode as well.

What is expected?

to open the date picker overlay.

What is actually happening?

Nothing


Solution

Additional comments

Even on your demo site, the date picker sample is not working.

@sxshateri
Copy link
Author

no one bothers to take a look at this?

@rarestoma
Copy link
Contributor

Hi @sxshateri,

Thank you for working with our products and sorry for the late response.

Did you try the datepicker from our documentation? https://demos.creative-tim.com/argon-design-system/docs/plugins/datepicker.html.

Also, did you try the datepickers presented on our index page? https://demos.creative-tim.com/argon-design-system/index.html.

Thank you,
Rares

@sxshateri
Copy link
Author

Hi @sxshateri,

Thank you for working with our products and sorry for the late response.

Did you try the datepicker from our documentation? https://demos.creative-tim.com/argon-design-system/docs/plugins/datepicker.html.

Also, did you try the datepickers presented on our index page? https://demos.creative-tim.com/argon-design-system/index.html.

Thank you,
Rares

well something strange is going on here. it works on my phone but not on machine. i tried chrome, firefox and edge. cleared cache for all of them but nothing works. im pulling my hair and have no idea why its acting this way.

@rarestoma
Copy link
Contributor

Hi @sxshateri,

Can you please tell us what browser are you using? Also, did you have any errors in the console?

Thank you,
Rares

@sxshateri
Copy link
Author

sxshateri commented Oct 29, 2020

Hi @sxshateri,

Can you please tell us what browser are you using? Also, did you have any errors in the console?

Thank you,
Rares

I mentioned the browser I'm using in my initial comment. but aside from Chrome, I have the same problem in Edge, Firefox, and even Brave. so I don't think it's a browser issue. also, there are no javascript errors in the console.
once I pulled in the original flatpickr script it started to work. so i guess ill just use the flatpickr's original script.

@Scorfly
Copy link

Scorfly commented Nov 8, 2020

Google Chrome
Version 86.0.4240.183 (Build officiel) (64 bits)

Firefox
82.0.2 (64 bits)

both tested, it doesn't work

@rarestoma
Copy link
Contributor

Hi @Scorfly,

Thank you for working with our products.

I tested it now on our index page (https://demos.creative-tim.com/argon-design-system/index.html) and it works fine.

Can you please send me a photo/video to see clearly what happens on your side? Also, did you get errors in your console?

Thank you,
Rares

@Scorfly
Copy link

Scorfly commented Nov 10, 2020

Error :

Uncaught TypeError: $(...).perfectScrollbar is not a function
    <anonymous> https://demos.creative-tim.com/argon-design-system/assets/js/argon-design-system.min.js?v=1.2.0:1

probably the same issue than

i'll try it this week-end

Video of the error displaying that nothing happen on click and the error in the firefox console

@rarestoma
Copy link
Contributor

Hi @Scorfly,

This error comes from the perfectscrollbar and has the same solution as in the link you provided (creativetimofficial/ct-argon-design-system-pro#7 (comment))

Please remove $('.wrapper .login-page, .register-page, .card').perfectScrollbar(); from `assets/js/argon-design-system.js.

Please let me know if it works now.

Thank you,
Rares

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

3 participants