You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/05/30 18:00:27 UTC

[GitHub] [incubator-weex] rgon edited a comment on issue #2374: how to get pageHeight in android full screen

rgon edited a comment on issue #2374: how to get pageHeight in android full screen
URL: https://github.com/apache/incubator-weex/issues/2374#issuecomment-497413248
 
 
   I can reproduce the bug in a Xiaomi Mi Mix 2 (gesture-based navigation, no nav bar). I cannot use v0.24.0, since it causes the "render error -1001" depicted in #2495.
   The workaround that I've been using is to calculate the reported aspect ratio, add a small amount (30px), approximate it to a list of common aspect ratios and then set it as a vuex variable. 
   A fix is needed, though, and my workaround is extremely bad practice.
   
   Weex reports a height of 2030 px, but my device is 2160 pixels tall.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services