You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by fkysly <gi...@git.apache.org> on 2017/04/06 10:01:50 UTC

[GitHub] incubator-weex pull request #226: * [html5] scrollToElement method support n...

GitHub user fkysly opened a pull request:

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

    * [html5] scrollToElement method support no animation

    scrollToElement method support no animation.
    
    weex.requireModule('dom').scrollToElement(el, {animated: false})

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

    $ git pull https://github.com/fkysly/incubator-weex 0.11-dev

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

    https://github.com/apache/incubator-weex/pull/226.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 #226
    
----
commit 83a2b46c377dd494d393c32c044f8946f35f7974
Author: fkysly <fk...@gmail.com>
Date:   2017-04-06T09:59:21Z

    * [html5] scrollToElement method support no animation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-weex issue #226: * [html5] scrollToElement method support no anima...

Posted by weex-bot <gi...@git.apache.org>.
Github user weex-bot commented on the issue:

    https://github.com/apache/incubator-weex/pull/226
  
    <table>
      <thead>
        <tr>
          <th width="50"></th>
          <th width="100%" data-danger-table="true" data-kind="Error">
              4 Errors
          </th>
         </tr>
      </thead>
      <tbody>
        <tr>
          <td>:no_entry_sign:</td>
          <td data-sticky="false"><strong><a href="https://github.com/fkysly/incubator-weex/blob/83a2b46c377dd494d393c32c044f8946f35f7974/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L50">ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L50</a></strong>: incompatible pointer types sending \u2018NSNumber *\u2019 to parameter of type \u2018NSIndexPath * _Nullable\u2019 [-Werror,-Wincompatible-pointer-types]  <br /><code>
                [_headerToIndexTable setObject:@(idx) forKey:controller.headerComponent];
    </code></td>
        </tr>
        <tr>
          <td>:no_entry_sign:</td>
          <td data-sticky="false"><strong><a href="https://github.com/fkysly/incubator-weex/blob/83a2b46c377dd494d393c32c044f8946f35f7974/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L50">ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L50</a></strong>: incompatible pointer types sending \u2018WXHeaderComponent *\u2019 to parameter of type \u2018WXCellComponent * _Nullable\u2019 [-Werror,-Wincompatible-pointer-types]  <br /><code>
                [_headerToIndexTable setObject:@(idx) forKey:controller.headerComponent];
    </code></td>
        </tr>
        <tr>
          <td>:no_entry_sign:</td>
          <td data-sticky="false"><strong><a href="https://github.com/fkysly/incubator-weex/blob/83a2b46c377dd494d393c32c044f8946f35f7974/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L114">ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L114</a></strong>: incompatible pointer types sending \u2018WXHeaderComponent *\u2019 to parameter of type \u2018WXCellComponent * _Nullable\u2019 [-Werror,-Wincompatible-pointer-types]  <br /><code>
        NSNumber *index = [_headerToIndexTable objectForKey:header];
    </code></td>
        </tr>
        <tr>
          <td>:no_entry_sign:</td>
          <td data-sticky="false"><strong><a href="https://github.com/fkysly/incubator-weex/blob/83a2b46c377dd494d393c32c044f8946f35f7974/ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L114">ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerDataController.m#L114</a></strong>: incompatible pointer types initializing \u2018NSNumber *\u2019 with an expression of type \u2018NSIndexPath * _Nullable\u2019 [-Werror,-Wincompatible-pointer-types]  <br /><code>
        NSNumber *index = [_headerToIndexTable objectForKey:header];
    </code></td>
        </tr>
      </tbody>
    </table>
    
    <p align="right" data-meta="generated_by_danger">
      Generated by :no_entry_sign: <a href="http://danger.systems/">danger</a>
    </p>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-weex pull request #226: * [html5] scrollToElement method support n...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---