Changes between Initial Version and Version 2 of Ticket #7081


Ignore:
Timestamp:
Mar 8, 2011, 7:40:39 AM (9 years ago)
Author:
Scott González
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7081

    • Property Status changed from new to open
  • Ticket #7081 – Description

    initial v2  
    1111
    1212if my page is short, the date picker is rendered above the field and inside the view port. but if the page is long the date picker is rendered outside the viewport and cant even be seen or partially seen. i think this has something to do with how the offsets are detected/computed. here is a sample of the full page which i edited from the demo to recreate the bug. try the date picker while you are on top of the page then try it when you scroll down let say at least in the middle of the page.
    13 
    14 {{{
    15 <!DOCTYPE html>
    16 <html lang="en">
    17 <head>
    18         <meta charset="utf-8">
    19         <title>jQuery UI Datepicker - Default functionality</title>
    20         <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
    21         <script src="../../jquery-1.4.4.js"></script>
    22         <script src="../../ui/jquery.ui.core.js"></script>
    23         <script src="../../ui/jquery.ui.widget.js"></script>
    24         <script src="../../ui/jquery.ui.datepicker.js"></script>
    25         <link rel="stylesheet" href="../demos.css">
    26         <script>
    27         $(function() {
    28                 $( "#datepicker" ).datepicker();
    29         });
    30         </script>
    31 </head>
    32 <body>
    33 
    34 
    35 
    36 
    37 
    38 <div class="demo-description">
    39 <p>The datepicker is tied to a standard form input field.  Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay.  Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p>
    40 
    41 <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    42 </div><!-- End demo-description -->
    43 <div style='position:fixed; background:#999999; bottom:0;'>
    44 <div class="demo">
    45 
    46 <p>Date: <input type="text" id="datepicker"></p>
    47 
    48 </div><!-- End demo -->
    49 </div>
    50 </body>
    51 </html>
    52 }}}