View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20362Bug reportsSurvey editingpublic2026-05-12 15:59
ReporterRyszard Assigned Toraymondoyondi  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version6.6.x 
Summary20362: datepicker
Description

On the page https://demo.limesurvey.org/index.php?r=surveyAdministration/rendersidemenulink&subaction=publication&surveyid=989934 I click the input with selector input#startdate. A datepicker popup appears. Then I click the link https://demo.limesurvey.org/index.php?r=surveyAdministration/rendersidemenulink&subaction=notification&surveyid=989934. The datepicker popup appears in the top-left corner of the new page.

Steps To Reproduce

Steps to reproduce

On the page https://demo.limesurvey.org/index.php?r=surveyAdministration/rendersidemenulink&subaction=publication&surveyid=989934 click the input with selector input#startdate. A datepicker popup appears. Then click the link https://demo.limesurvey.org/index.php?r=surveyAdministration/rendersidemenulink&subaction=notification&surveyid=989934. The datepicker popup appears in the top-left corner of the new page.

Expected result

On the page https://demo.limesurvey.org/index.php?r=surveyAdministration/rendersidemenulink&subaction=publication&surveyid=989934 click the input with selector input#startdate. A datepicker popup appears. Then click the link https://demo.limesurvey.org/index.php?r=surveyAdministration/rendersidemenulink&subaction=notification&surveyid=989934. The datepicker popup does not appear at all.

Actual result

... The datepicker popup appears in the top-left corner of the new page.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)6.15.23
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome 142.0.7444.163
Database type & versionPostgres 15
Server OS (if known)Linux
Webserver software & version (if known)Apache and Nginx
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

raymondoyondi

raymondoyondi

2026-05-04 15:39

developer   ~84770

I fixed the issue!

  • Added a centralized cleanup routine for Tempus Dominus instances that:
    1. hides any currently visible picker popup, and
    2. disposes/removes picker instances whose input element is no longer in the DOM (stale after navigation).
  • Bound that cleanup once to PJAX navigation start events and beforeunload, so open datepickers are cleaned before switching pages (prevents the popup from reappearing at top-left on the next page).
  • Called the cleanup binding from initDatePicker, ensuring every datepicker setup gets this behavior without duplicate event registration.
tibor.pacalat

tibor.pacalat

2026-05-12 15:59

administrator   ~84830

I am still seeing the issue even though I confirmed the new code is being loaded.

Issue History

Date Modified Username Field Change
2025-11-20 14:55 Ryszard New Issue
2025-11-20 14:55 Ryszard File Added: Zrzut ekranu 2025-11-20 145507.png
2025-11-20 14:55 Ryszard File Added: Zrzut ekranu 2025-11-20 145524.png
2026-05-04 14:36 tibor.pacalat Assigned To => raymondoyondi
2026-05-04 14:36 tibor.pacalat Status new => assigned
2026-05-04 15:39 raymondoyondi Note Added: 84770
2026-05-04 15:39 raymondoyondi Bug heat 0 => 2
2026-05-12 15:59 tibor.pacalat Note Added: 84830
2026-05-12 15:59 tibor.pacalat File Added: Screenshot 2026-05-12 at 15.59.32.png
2026-05-12 15:59 tibor.pacalat Bug heat 2 => 4