Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you have a date field which uses a date picker, the date picker window does not popup when you do the following
Steps to reproduce
Take the date picker from the example "Style guide"
In a browser on a windows device
1. Click on the date field... the date picker pops up.
2. Click on the right scrollbar of the window... the date picker disappears.
3. Click again in the date field... the date picker does not popup again.
You must first click on another field and then on the date field to popup the date picker again.
Comment | File | Size | Author |
---|---|---|---|
#12 | test.mp4 | 307.36 KB | DishaKatariya |
#8 | date_picker_does_not_pops_up_again_3417284.patch | 1.06 KB | Shaikh Sadab |
#6 | Recording 2024-02-07 164844.mp4 | 36.86 MB | fxa |
#4 | Screenshot 2024-01-31 183942.png | 119.17 KB | fxa |
Issue fork webform-3417284
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fxa CreditAttribution: fxa commentedComment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedCan you please include a screen of the datapicker?
Are you using jQuery UI or a native browser date picker?
Comment #4
fxa CreditAttribution: fxa commentedI use the jQuery UI Datepicker 2.0.0
See attached screenshot.
Comment #5
cilefen CreditAttribution: cilefen commentedComment #6
fxa CreditAttribution: fxa commentedHere is a video showing the problem.
Comment #8
Shaikh Sadab CreditAttribution: Shaikh Sadab commentedI was able to reproduce the issue. I have found a workaround for this issue. Please find the attached patch for the same.
Comment #9
fxa CreditAttribution: fxa commentedNow it's working fine.
Thanks a lot for the fix.
Comment #9
fxa CreditAttribution: fxa commentedNow it's working fine.
Thanks a lot for the fix.
Comment #10
maitri_2112 CreditAttribution: maitri_2112 commented#8 worked for me.
Thanks for the fix.
Comment #11
DishaKatariya CreditAttribution: DishaKatariya as a volunteer and at QED42 for Drupal India Association commentedComment #12
DishaKatariya CreditAttribution: DishaKatariya as a volunteer and at QED42 for Drupal India Association commentedHi, I have tested this issue. and its showing the same results.Followed the same steps as given above
Steps:
In a browser on a windows device
1. Click on the date field... the date picker pops up.
2. Click on the right scrollbar of the window... the date picker disappears.
3. Click again in the date field... the date picker does not popup again.
You must first click on another field and then on the date field to popup the date picker again.
Attaching the recording below:
Keeping it in Needs Review for more reviews and code review.
Comment #13
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedI am able to replicate this issue using the webform_jqueryui_datepicker_test.module.
The issue is that scrolling does not remove focus from the date picker.
@see https://bugs.jqueryui.com/ticket/8593/
This issue is coming from the Datepicker widget and should be fixed upstream or you can use the patch AS-IS.