Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#5636 closed defect (worksforme)

TimeTextBox in ContentPane causes website to 'disappear'

Reported by: guest Owned by: Douglas Hays
Priority: high Milestone:
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Following dojo code causes the complete layout and content of a page to disappear as soon as the TimeTextBox? is used:

<body class="tundra">
	<div dojoType="dijit.layout.LayoutContainer" style="width: 100%; height: 100%; padding: 0; margin: 0; border: 0;">
	   <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
	        top
	   </div>
	   <div dojoType="dijit.layout.ContentPane" layoutAlign="left" style="width: 200px;">
		left
	    </div>
	    <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
       		<form>
			   	<table id="newPeriod">
			   		<tr>
			         	<td style="width:75px">
			         		<label style="align:top; width:75px" for="endtime">EndTime: </label>
			          		<input style="align:top; width:75px" dojoType="dijit.form.TimeTextBox" name="endtime"
			          				constraints="{timePattern: 'hh:mm'}" required="true"
			            			promptMessage="hh:mm" invalidMessage="Invalid date.  Use dd/mm/yyyy format.">
			          	</td>
			        </tr>
				</table>
			</form>
		</div>
	</div>
</body>

The content is still in the browser, however it seems hidden as you can't see it.

Attachments (2)

example.GIF (5.4 KB) - added by guest 11 years ago.
View of what happens after the onClick of the TimeTextBox?
5636_ok.jpg (45.9 KB) - added by Douglas Hays 11 years ago.
screenshot of it working with IE6

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by guest

Attachment: example.GIF added

View of what happens after the onClick of the TimeTextBox?

comment:1 Changed 11 years ago by guest

Just noticed that also all the layout and content disappears when the browser window isn't large enough to display the content and layout.

comment:2 Changed 11 years ago by Adam Peller

Owner: changed from anonymous to Douglas Hays

comment:3 Changed 11 years ago by Douglas Hays

Component: GeneralDijit
Resolution: worksforme
Status: newclosed

I was unable to recreate this. The description did not list which browser and which OS was being used. If possible, please test your scenario on the latest dojo/dijit trunk. It is possible that this is a nested table problem fixed in 1.1. I did notice that scrollbars do not appear when the browser area is made horizontally smaller.

Changed 11 years ago by Douglas Hays

Attachment: 5636_ok.jpg added

screenshot of it working with IE6

comment:4 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.