[ 
https://issues.apache.org/jira/browse/WEEX-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243465#comment-16243465
 ] 

ASF GitHub Bot commented on WEEX-99:
------------------------------------

GitHub user myeveryheart opened a pull request:

    https://github.com/apache/incubator-weex/pull/844

    [WEEX-99][Android] fix setViewport: sometimes doesn't work

    [WEEX-99][Android] fix setViewport: sometimes doesn't work.
    
    The setViewport method in WXMetaModule is ASYN right now which makes 
weexInstance.viewportWidth setted after view created.
    
    Bug:99

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/myeveryheart/incubator-weex 
WEEX-99-Android-fix-setViewport-sometimes-doesn't-work

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/844.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #844
    
----
commit 0fef58ff6883cf5695803adaea955d80d6cd2408
Author: M <myeveryhe...@qq.com>
Date:   2017-11-08T06:56:13Z

    [WEEX-99][Android] fix setViewport: sometimes doesn't work

----


> The setViewport method in WXMetaModule is ASYN right now which makes 
> weexInstance.viewportWidth setted after view created.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WEEX-99
>                 URL: https://issues.apache.org/jira/browse/WEEX-99
>             Project: Weex
>          Issue Type: Bug
>          Components: iOS
>            Reporter: myeveryheart
>            Assignee: Adam Feng
>         Attachments: 粘贴图片.png, 粘贴图片1.png, 粘贴图片2.png, 粘贴图片3.png
>
>
> The meta module can be used to declare meta information for a single page, 
> such as the viewport of the container.
> It provides a method 'setViewport' to change the viewport of the page.
> But the method is ASYN right now which makes weexInstance.viewportWidth 
> setted after view created.
> The bug is in iOS and Android.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to