You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/08 06:46:00 UTC

[jira] [Commented] (WEEX-99) The setViewport method in WXMetaModule is ASYN right now which makes weexInstance.viewportWidth setted after view created.

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

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

Github user myeveryheart closed the pull request at:

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


> 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)