Ticket #1266 (closed defect: fixed)
Color Picker not positioned correctly inside scrolling <div>
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | User Interface | Version: | trunk |
| Severity: | normal | Keywords: | color picker position |
| Cc: |
Description
I can confirm the bug reported in ticket #1162.
<div "fixed size with vertical scrolling"> <div "auto size">
<div "fixed width with horizontal scrolling"> <div "auto size">
<textarea / xinha>
</div> </div> <div "fixed width with horizontal scrolling"> <div "auto size">
<textarea / xinha>
</div> </div> ...
</div> </div>
Once the outer div is scrolled, the colorpickers are positioned incorrectly. Thus it will happen that the colorpickers for some xinha editors are positioned offscreen.
The proposed fix in ticket #1162 does in fact work for me, though the relevant code is now located in modules/ColorPicker/ColorPicker.js at lines 374 and 375.
