Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1067 closed defect (fixed)

Positioning of the color selection pallet, invoked from EDITOR toolbar,when "Editor" is placed in the lower part of the scrollable page

Reported by: onlybakshi@… Owned by: liucougar
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Editor, ColorPallet, positioning Cc:
Blocked by: Blocking:

Description

The problem is with the Editor widget. The problem exists when we have a very long page(with scrollbars) and the Editor widget is placed in the lower portion of the page. i.e you have to scroll down to reach the Editor.
When i select the Color pallet, from such an Editor, the the color pallet always appears at the top of the page. and not where the Editor is positioned.

Following is a piece of dummy code, which shows this problem.


<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN"

"http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>

<title>Editor Widget Demo</title>

<script type="text/javascript" src="../javascript/dojo.js"></script>
<script>

dojo.require("dojo.widget.Editor");

</script>


<style>

body {

font-family: Arial, Helvetica, sans-serif;
padding: 0;
margin: 0;

}

.page {

padding: 10px 10px 10px 10px;

}

</style>

</head>
<body>

<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<div dojoType="Editor" items="formatblock;|;insertunorderedlist;insertorderedlist;|;bold;italic;underline;strikethrough;|;createLink;forecolor;">

<p>One interesting feature of the editor is that the sizusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the edite
adjusts based on how much text there is, so the only scrollbar ever shown
is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editor.)</p>


</div>

</body>
</html>

Attachments (1)

Editor.html (2.7 KB) - added by onlybakshi@… 8 years ago.
The Editors, color pallet positioning problem, example.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by onlybakshi@…

The Editors, color pallet positioning problem, example.

comment:1 Changed 8 years ago by bill

  • Milestone set to 0.4
  • Owner changed from anonymous to liucougar

Liucougar will probably fix this (for Editor2, not Editor)

comment:2 Changed 8 years ago by liucougar

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

fixed in r5306

comment:3 Changed 7 years ago by anonymous

  • Milestone 0.4 deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.