niklasvh/html2canvas — Issue #46: Html select diffrents in FF and Chrome
Author: escobar1983
Created: 2012-01-19 10:49:54+00:00
State: open

Hello.
First of all big thanks for this library . I have a problem with displaying html select on screen. In chrome it looks ok but on FF is makeing strange sign it looks like is trying to put all select options in one box and it's makeing bule box on not selected options. In my opinion it should take a first selectedindex.. I change the linies from 922 in html2canvas.js smth like this
f (el.nodeName == "SELECT")
{

if (el.selectedIndex == null)
{
var textValue = el.options[0].text;

}
else var textValue = el.options[el.selectedIndex].text;

// TODO increase accuracy of text position
// var textValue = el.options[el.selectedIndex].text;
}
but this isnt working. Please help