showListFirst (EDS v1.1.0 and later)

Peter Schober peter.schober at univie.ac.at
Tue Nov 11 12:26:27 EST 2014


* Philip Durbin <philip_durbin at harvard.edu> [2014-09-16 14:40]:
> Unfortunately, the typeahead problem seems to be there even when no
> other CSS is included. I'm attaching a screenshot. (This time I'm only
> typing a single character: "h" to trigger the typeahead.)

I just ran into that same problem again, when embedding the EDS into
FileSender (which I had done and solved before).

>From idpselect.js the JavaScript-generated HTML code ends up like that
in the browser (according to Chromium):

  <div class="IdPSelectDropDown" style="visibility: hidden; width: 0px;"></div>

It's the "width: 0px" that causes the uglyness.

The responsible JavaScript seems to be

  this.dropDown.style.width=this.textBox.offsetWidth

but I have not yet tracked down why this.textBox.offsetWidth is 0px in
this particular case. (On the old system I previously integrated this
successfully there is no such width statement being generated.)
-peter


More information about the users mailing list