Opened 11 years ago
Last modified 8 years ago
#8556 open bug
Datepicker: Showing a datepicker while another datepicker is closing causing the newly opened datepicker to close
Reported by: | kinglozzer | Owned by: | kinglozzer |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.8.23 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When moving between two Datepicker fields, using $('id').datepicker("show");, the second datepicker appears and then disappears.
Problem can be avoided by doing setTimeout(function(){show datepicker}, 0);
Change History (14)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Owner: | set to kinglozzer |
---|---|
Status: | new → pending |
I'm not seeing this behavior. Is this happening in a specific browser?
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
I see the bug in the first fiddle, which uses 1.9.0rc1 + a 1.8 theme, but not in the second which uses 1.8.23. I also do not see this when using jquery-ui-git.
comment:4 Changed 11 years ago by
Sorry I forked the first fiddle from a different bug, the second one is the one in question.
I've tried it in Chrome, Firefox and Safari on OSX 10.7.4 and the behaviour is the same in all three; when selecting a date, the second datepicker opens and then closes a split second later - but doesn't when I use setTimeout
comment:5 Changed 11 years ago by
Just tested on VMWare Windows and it works, so I guess it's a Mac only bug. If it helps track it down; when it flashes on then off, if I then switch to a different window/program and switch back, it reappears.
comment:6 Changed 11 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
The description was not very clear, it sounded like you just wanted us to click in the text fields.
comment:7 Changed 10 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:8 Changed 10 years ago by
Status: | reopened → open |
---|
comment:10 Changed 10 years ago by
Summary: | Datepicker flashes when moving between two fields → Datepicker: flashes when moving between two fields |
---|
Reduced test case against master: http://jsfiddle.net/tj_vantoll/5udAh/
comment:12 Changed 9 years ago by
Milestone: | 1.11.0 → none |
---|
comment:13 Changed 8 years ago by
Summary: | Datepicker: flashes when moving between two fields → Datepicker: Showing a datepicker while another datepicker is closing causing the newly opened datepicker to close |
---|
comment:14 Changed 8 years ago by
Likely caused by the same bug that causes #8907. Both should be non-issues with the rewrite since there's no more singleton.
Sorry,
http://jsfiddle.net/MPQsR/1/