Opened 15 years ago

Closed 15 years ago

#4042 closed defect (fixed)

dijit visibility:hidden node is taking up screen space

Reported by: guest Owned by: bill
Priority: high Milestone:
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


In dijit._Templated._createNodesFromText, a node is created for changing text into a dom node. This node is given visibility="hidden", however, it still takes up room on the screen. I have a widget that needs to be the size of the screen and not show scrollbars. In IE, it is still showing vertical scrollbars because of this problem.

A proposed fix is to set the following:"absolute";"-999px";"-999px";

This is the same solution for a11yTestNode

Change History (1)

comment:1 Changed 15 years ago by bill

Resolution: fixed
Status: newclosed

(In [10068]) Make temporary node display:none rather that visibility:hidden so that it doesn't take up space on the screen. Fixes #4042.

Note: See TracTickets for help on using tickets.