AnsweredAssumed Answered

dojo dialog scroll bar issues

Question asked by amarsden on Sep 3, 2012
Latest reply on Sep 4, 2012 by amarsden

I have some code that uses an identify task.  In the idenfify task execute function, I loop through the layers found and the fields found to build up a set of tables (one per layer) containing all the field aliases and values - basically recreating the ArcIMS html viewer Identify All results.

I pop these up in a dojo dialog box. The box is defined by CSS as a specific percentage -

  max-height: 50%;
  overflow: auto;

this works fine for a few results, but when I have a fair few results, the vertical scroll bar appears - but the initial position is half way down the document.  I'm not sure if this is something I've missed or an issue with dojo itself.