Opened 11 years ago

Closed 11 years ago

#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.

Change History (2)

comment:1 Changed 11 years ago by guest

Small addition: Bug and fix confirmed for FF3, IE6 and IE7.

comment:2 Changed 11 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

rev [1024]: applied patch

Note: See TracTickets for help on using tickets.