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

Calendar Picker Component Bug #1824

Closed
Stankman opened this issue Sep 3, 2021 · 18 comments
Closed

Calendar Picker Component Bug #1824

Stankman opened this issue Sep 3, 2021 · 18 comments

Comments

@Stankman
Copy link

Stankman commented Sep 3, 2021

Describe the bug
When selecting a date it chooses 2 dates.

To Reproduce
https://codepen.io/RodolfoXDR/pen/YzQGzYX

Expected behavior
Work as on documentation

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Metro Version 4.5.0
@xscode-auto-reply
Copy link

Thanks for opening a new issue. The author has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

@olton
Copy link
Owner

olton commented Sep 4, 2021

2021-09-04-09-00-54
All works fine for me

@olton olton closed this as completed Sep 4, 2021
@Stankman
Copy link
Author

Stankman commented Sep 4, 2021

Hmmm, it is pretty odd.

On the codepen I still see this bug, what do you think it could be?

@olton
Copy link
Owner

olton commented Sep 4, 2021

Can you record a short video of the problem?

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

Metrroui bug

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

I already erased cache thinking it could be that, I also tested it on Microsoft Edge and same thing happens, I reset my PC and it keeps bugging.

And it is pretty strange cuz, on metroui docs, it does work well

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

Update: I tested it on my iPhone and it is also bugged

@olton
Copy link
Owner

olton commented Sep 6, 2021

show your browser console

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

Metrroui bug3

@olton
Copy link
Owner

olton commented Sep 6, 2021

Do you have a Metro connected twice?

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

What do you mean connected twice? Like on codepen I haven't changed anything (https://codepen.io/RodolfoXDR/pen/YzQGzYX)

@olton
Copy link
Owner

olton commented Sep 6, 2021

In your console, I see connected metro.js and metro.min.js

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

image

@olton
Copy link
Owner

olton commented Sep 6, 2021

2021-09-06-19-48-21

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

Yeah, I see what you mean, but how is that possible if I'm only using the external JS metro.min file

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

And for example on MetroUI Docs I don't know if its correct but when selecting a Date it is marked as "Today"

image

@olton
Copy link
Owner

olton commented Sep 6, 2021

The Docs uses an old version of Metro 4 (4.4.3) In this version calendar-picker works as you see. For selected date executes internal method setToday(selected_date)

@Stankman
Copy link
Author

Stankman commented Sep 6, 2021

image

Look, I tested it on my iPhone and same thing happens, really I don't know what's happening X'D

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

2 participants