Black background that doesn't change.
leandroz opened this issue · comments
Leandro Zubrezki commented
Trevor Blades commented
I'm getting the same problem. I'm trying to set the background color in my deviceready handler like so:
function onDeviceReady() {
window.plugins.webviewcolor.change('#FFFFFF');
}
document.addEventListener('deviceready', onDeviceReady, false);
Eddy Verbruggen commented
Can I check the complete sourcecode somehow? Perhaps by email?
Leandro Zubrezki commented
The problem i think is not the background color because when i open the Keyboard the color is changed, is not html problem either. I am making scrollable only the main
html element using:
top: 4rem;
background-color: #fff;
position: fixed;
width: 100%;
height: auto;
bottom: 0;
-webkit-overflow-scrolling: touch;
overflow-y: auto;
Leandro Zubrezki commented
Ok, this is weird, i actually solved the problem removing the background color of the child element of the scrollable element. Inside the main tag was a menu tag with the same background color, i remove it and now all is white as it should.