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

menu is opened again #1402

Closed
JankoHrasko7 opened this issue Aug 18, 2017 · 4 comments
Closed

menu is opened again #1402

JankoHrasko7 opened this issue Aug 18, 2017 · 4 comments
Labels
invalid The issue is missing information or is not a valid bug/feature request

Comments

@JankoHrasko7
Copy link

Steps to reproduce

Firefox

  1. click on data picker and select date
  2. Click again and choose another date
    Datapicker is opened again

Versions

https://jsfiddle.net/aston77martin/cz825x4o/4/

What is expected ?

Menu (data picker) shoudn't opened again after select a date

What is actually happening ?

Datapicker is opened again

Reproduction Link

https://jsfiddle.net/aston77martin/cz825x4o/4/

@nekosaur
Copy link
Member

I don't understand. Are you saying the date-picker should not appear when you click on the input field if you have already selected a date?

If so, then I disagree with you. What if the user selected the wrong date and want to correct it?

@nekosaur nekosaur added the pending review The issue is still pending disposition label Aug 18, 2017
@JankoHrasko7
Copy link
Author

If you click again, data picker have to appear. But if you select other date it should disappear. But it shows again. It is a bug.

@johnleider
Copy link
Member

That is because you failed to define a menu data property. This was causing weird behavior when expecting the model to actually change when it wasn't defined. As soon as you add it, it works as expected.

@johnleider johnleider added invalid The issue is missing information or is not a valid bug/feature request and removed pending review The issue is still pending disposition labels Aug 19, 2017
@lock
Copy link

lock bot commented Apr 16, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

@lock lock bot locked as resolved and limited conversation to collaborators Apr 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid The issue is missing information or is not a valid bug/feature request
Projects
None yet
Development

No branches or pull requests

3 participants