Ticket #1162 (closed defect: worksforme)
Color Picker not position correctly in a div that has scrolling [patch]
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.95 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by gogo) (diff)
top and left calculation of the color picker div should take into account offsetParent scrollLeft and scrollTop. Can this make 0.95? Thanks.
366 do
367 {
368 if (e.style.position == 'fixed')
369 {
370 this.table.style.position = 'fixed';
371 }
/** modification
top+=e.offsetTop - e.scrollTop;
left+=e.offsetLeft - e.scrollLeft;
**/
374 e = e.offsetParent;
375 }
376 while(e);
kngan@…
Change History
Note: See
TracTickets for help on using
tickets.
