Opened 11 years ago

Closed 11 years ago

#7719 closed defect (fixed)

Editor: sized too small (safari)

Reported by: bill Owned by: bill
Priority: high Milestone: 1.2
Component: Editor Version: 1.2beta
Keywords: Cc:
Blocked By: Blocking:

Description

Try typing many rows of text into the editor in the mail demo on safari.

A scrollbar shows up prematurely. See attached screenshot.

Seems editor isn't sizing correctly. Was #4070 remerged after the rollback?

Upon resizing (shrinking) screen we get the dual-scrollbar problem like #7718.

Attachments (1)

Picture 2.png (42.7 KB) - added by bill 11 years ago.
scrollbar doesn't extend all the way down, look at bottom right of blue area

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by bill

Attachment: Picture 2.png added

scrollbar doesn't extend all the way down, look at bottom right of blue area

comment:1 Changed 11 years ago by bill

Owner: changed from liucougar to Douglas Hays

See also #7718 (similar problem on IE), and #7549 (the ticket for the rollback of Editor)

comment:2 Changed 11 years ago by Douglas Hays

Owner: changed from Douglas Hays to liucougar

#4070 appears to have been remerged. It probably needs a 2nd opinion from liucougar

comment:3 Changed 11 years ago by bill

Milestone: tbd1.2
Owner: changed from liucougar to bill
Status: newassigned

Problem is with height measurement on the iframe. It should be 100% and is initially getting set to 100% but then later gets set to a value like 300px.

comment:4 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [15331]) Fix Editor sizing issues (fixes #7718, #7719):

  1. When in layout mode the iframe needs style of height=100%. This was getting set correctly initially but then was being overwritten by code that didn't realize the editor was in "layout mode" (i.e., that layout() and resize() had been called to size the editor).
  2. User code shouldn't specify overflow: auto on Editor widget. Although there's an internal scrollbar in the iframe, the Editor itself doesn't have a scroll bar (as that scroll bar would include both the toolbar and the content window, which isn't what we want).

!strict

Note: See TracTickets for help on using tickets.