Opened 8 years ago

Closed 10 months ago

Last modified 10 months ago

#1578 closed defect (wontfix)

Color picker does not keep proper position on page

Reported by: guest Owned by:
Priority: normal Milestone: 0.97
Component: Dialogs Version: trunk
Severity: major Keywords:
Cc:

Description

The color picker plugin is not keeping the proper position on the page. I.E. When I scroll down on the page the color picker pops up higher on the page. Here is the patch to fix this problem, the code is located in xinha/modules/ColorPicker/ColorPicker.js

Attachments (1)

colorpicker.patch (492 bytes) - added by guest 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by guest

comment:1 Changed 10 months ago by gogo

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

This can be a result of the document mode the browser is in, which is triggered by the Doctype.

For ColorPicker?, the best results seem to be Standards Mode and Almost Standards Mode, so either

  <!DOCTYPE html>

or

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Quirks mode makes the color picker position wonky if there is scrolling.

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

I would recommend using standards mode if at all possible.

comment:2 Changed 10 months ago by gogo

[1370] Fixes this properly in all three document rendering modes.

Note: See TracTickets for help on using tickets.