mdgio / iMap

Maryland iMAP applications
10 stars 24 forks source link

Data Interoperability dijit #3

Closed jsomerville closed 11 years ago

jsomerville commented 11 years ago

Description: Closing and re-opening the floating pane causes it to open further and further to the right on the screen until it is inaccessible off the screen.

Steps to reproduce:

  1. Click Data button
  2. Click Data button or x to close pane
  3. Click Data button again.

Browsers/Versions: All

SSporik commented 11 years ago

Found this sample for constraining the movement of a floating pane to its parent div. It uses dojo/dnd/move. This works nicely limiting dragging actions of an open pane, but not sure if it will affect the location of opening/reopening a pane and constraining its location to be fully inside the div.

http://jsfiddle.net/phusick/3vTXW/

Will implement a test.