Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.x, 2.5.0, 2.5.x
-
None
Description
Steps to reproduce:
1. Create the following .html file and go to the page in Chrome or Firefox:
<html> <head> <script src="http://cdn.alloyui.com/2.5.0/aui/aui-min.js"></script> <link href="http://cdn.alloyui.com/2.5.0/aui-css/css/bootstrap.min.css" rel="stylesheet"></link> </head> <body> <div style="top: 750px; left: 500px; position: absolute;"> <input id="trigger" /> </div> <div style="top: 2000px; left: 500px; position: absolute;"> <input /> </div> <script> YUI().use('aui-datepicker', function(Y){ var datePicker = new Y.DatePicker({ trigger: '#trigger' }); }); </script> </body> </html>
2. Click inside the first <input> to pop up the datePicker.
3. Scroll down so that the picker is partially obscured like in this image:
4. Select a date.
The expected behavior is that the pickDate will disappear, and the <input> will contain the selected date.
Instead in Firefox, selecting a date causes the datePicker to reappear below the <input>. In Chrome the datePicker will reappear below the <input> for a moment and disappear afterwards. In both cases the input will not contain the text of the selected date.