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

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

GitHub user myeveryheart reopened a pull request:

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

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

    [WEEX-99][iOS] 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-iOS-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/843.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 #843
    
----
commit c6b8a28eb868853136fea9dd946404934c8816b4
Author: M <[email protected]>
Date:   2017-11-08T06:53:09Z

    [WEEX-99][iOS] 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