Wizcorp / cordova-plugin-wizviewmanager

PhoneGap plugin for creating/showing/hiding/messaging/animating additional views outside of the main window.
MIT License
57 stars 37 forks source link

Issue with positions #78

Open gustter opened 9 years ago

gustter commented 9 years ago

Hi,

I'm trying include wizViewMessenger in my App: i0s, Android.

I'm having some issues with the position of the view, depending on the platform.

My options are: var options = { src: "http://www.movie.com.uy/mobile", top: 75, left: 0, height: 512, scalesPageToFit: false, bounces: false };

On iPhone all ok, in iPad the viewport is located on top=0, on some Android, the view apperar like a small square (ignoring height an width).

Do you have any consideration about this issue? Could you help me?

I'm using phonegap build.

Thanks in advance and thanks for the plugin.

jrouault commented 9 years ago

Hello,

We could not reproduce your issue with these specific options. We used Cordova 3.6.3 and tried on portrait/landscape orientation. Could you provide more information? Or best, could you provide a small project reproducing this issue?

gustter commented 9 years ago

Thanks. I'm going to make an example and I send it.

Ready2X commented 9 years ago

Hey there, got the same ... my workaround is to add a topmargin to the source-html, wich has the same height like the top option. It seems, the view is right positioned, but the src is always on top 0. oO I am testing on iOS 8.1

jrouault commented 9 years ago

@Ready2X Thanks for reporting it. Do you have a source code sample to reproduce this issue? It would be nice to fix it since several users seem to be running into this bug.