Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.3.1
-
Component/s: Forms Library
-
Testing Instructions:
-
Affected Branches:MOODLE_23_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-35675-master -
Pull Master Diff URL:
Description
Hi,
on moodle.fhnw.ch, we noticed that the dateselector could appear in wrong places (like: always at the top of the page).
While this is probably a CSS-YUI interaction bug, we noticed:
- the definition of constraints in lib/form/yui/dateselector/dateselector.js is incoherent:
- on line 118, the M.form.dateselector is constrained to the 'form' ancestor
- on line 248, the panel is then re-constrained to the 'body' ancestor.
This was addressed inMDL-32297but apparently partly so.
- we could restore a sane behaviour by dropping the dateselector constrains completely.
The patch to do the latter as well as a screenshot of the problem are attached.