Opened 12 years ago

Closed 12 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:

Description

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: tn.style.position="absolute"; tn.style.left="-999px"; tn.style.top="-999px";

This is the same solution for a11yTestNode

Change History (1)

comment:1 Changed 12 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.