Custom Query (18300 matches)


Show under each result:

Results (91 - 93 of 18300)

Ticket Resolution Summary Owner Reporter
#14480 worksforme window.parent.require not accessible Rawld Gill Pete Smith

I have a dojo app that is embeddable in an iframe. When I do, line 603 of dojo.js dies on this line:

if(window.parent != window && window.parent.require)

window.parent.require is not accessible. It looks like this code is just for doh testing, I commented it out and my app works fine.

#1406 fixed window.onScroll event not firing when also connecting to a document.documentElement event alex [email protected]

When I connect to the window's onscroll event, it works just fine.

dojo.event.connect(window, "onscroll", function(){dojo.debug("Scrolling!");});

After attaching to an event on document.documentElement, then the onScroll stops working. There are several widgets that attach to the document.documentElement such as the FisheyeList? and causes onScrolls to stop working.

I don't believe the problem is in dojo.event.*, but it could be band-aided by adding some

This problem occurs in Firefox (Windows), Flock 0.7.1 (Windows), and Mozilla 1.7.12. Opera 9 (Windows) and Internet Explorer 7 work correctly.

A workaround involves changing instances of "document.documentElement" to "document".

I've attached an example. You may need to update the path to the dojo.js.

#15571 worksforme window.getBox not working correctly when used inside a window resize handler? Paul Christopher

Not sure whether this is a bug or a result of an interaction between dojo/window.getBox and a callback which reacts on window resizes. However the result is the same on different browsers: FF13, IE9: the viewport size seems not to be calculated correctly in all cases.


When resizing a window, a callback is fired, see attached test case. The handler gets the current viewport dimensions with dojo/window.getBox and prints them to the console. However the calculation of the viewport size seems not to be correct in all cases. Espcially if you use the "restore down"/ "maximize" button (which is next to the close button) so as to make the browser window smaller, the viewport seems not to be calculated correctly:

When gradually resizing the window by gripping the border of the window, sometimes values seem not to be calculated correctly: There are some outliers, too.

Steps to reproduce the issue

  • Run the attached test case. The test case prints the viewport dimension to the console. Moreover it shows a gray rectangle which dimensios are 0,0,viewport.w-20px, viewport.h-20px. Start with a maximized browser window. Now use the "restore down" button so as to make the window smaller. In most cases, the margin is too big, bigger than viewport-20px.
  • Now gradually resize the window. There are outliers, too: The margin between the gray box and the browser window is not always the same, but jumps significantly sometimes.

Affected browser

Happens to me with Firefox13 and IE9.

Note: See TracQuery for help on using queries.