精华内容
下载资源
问答
  • scrollTo

    2020-12-09 02:20:17
    <div><p>Hello! Thank you for perfect library. What about scrollTo method for virtual scroll?</p><p>该提问来源于开源项目:shlomiassaf/ngrid</p></div>
  • ScrollTo

    2014-03-06 17:41:57
    function goto(id) {  $("#" + id).ScrollTo(800);  } 我跳↓ 我再跳↑
    <html>
    <head>
    <title></title>

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="./jquery.scrollto.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        function goto(id) {
            $("#" + id).ScrollTo(800);
        }
    </script>
    </head>
    <body>
    <br /><br />
    <a  id="haha" style="color:Red;cursor:pointer;" οnclick="javascript:goto('hehe');return false;">我跳↓</a>
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <br /><br /><br /><br />
    <div id="hehe" style="color:Red;cursor:pointer;" οnclick="javascript:goto('haha');return false;">我再跳↑</div>
    </body>
    </html>
    展开全文
  • ScrollTo Render

    2020-11-30 03:42:37
    items) where I have a button fixed on the screen that calls a scrollTo function to a specific section. The problem is when the scrollTo finishes the page is not rendered correctly. <pre><code>this._...
  • scrollTo demo

    2014-05-30 14:44:03
    jquery.scrollTo-min.js
  • cannot scrollTo

    2021-01-07 19:08:37
    <div><p>The following code cannot work: $scope.gotoFooter =... disabled ScrollTo function How to enable it? Thanks</p><p>该提问来源于开源项目:mcasimir/mobile-angular-ui</p></div>
  • JQUERY SCROLLTO

    2012-12-25 13:42:09
    JQUERY SCROLLTO 详细说明
  • ScrollTo", so that when the view loads the ItemSource, it automatically scrolls to the bounded item. <h2>API Changes <p>These properties would be needed on the CollectionView (Or something ...
  • Protractor - scrollTo

    2021-01-08 11:03:01
    <p>Use <code>scrollTo</code> in protractor helper. Is it possible to use <code>scrollTo</code> function with protractor helper? <h4>What do you get instead? <pre><code>bash I.scrollTo is not a ...
  • ScrollBy ScrollTo

    2018-08-15 16:02:41
    Android View视图是没有边界的,Canvas是没有边界的 ...scrollTo(int x,int y): scrollBy(int x,int y): 其实是对scrollTo的包装,移动的是相对位置 这里有个难点 :x y 的坐标怎么算 ...

    Android View视图是没有边界的,Canvas是没有边界的

    可以对Canvas对象进行了一定的操作
    例如 :
    translate(平移)、
    clipRect(剪切)等


    scrollTo(int x,int y):

    scrollBy(int x,int y):

    其实是对scrollTo的包装,移动的是相对位置

    这里有个难点 :x y 的坐标怎么算

    注意:mScrollX和mScrollY指的并不是坐标,而是偏移量。
    计算方法:
    :mScrollX = 原点(0) - x(坐标)
    :mScrollY = 原点(0) - y(坐标)
    这里的坐标是 相对父空间的 也就是 getX(), getY()


    那么 如果移动scrollTo(100,100),mScrollX和mScrollY又是多少
    根据源码显示

      * Set the scrolled position of your view. This will cause a call to 
         * {@link #onScrollChanged(int, int, int, int)} and the view will be 
         * invalidated. 
         * @param x the x position to scroll to 
         * @param y the y position to scroll to 
         */  
        public void scrollTo(int x, int y) {  
            if (mScrollX != x || mScrollY != y) {  
                int oldX = mScrollX;  
                int oldY = mScrollY;  
                mScrollX = x;  
                mScrollY = y;  
                invalidateParentCaches();  
                onScrollChanged(mScrollX, mScrollY, oldX, oldY);  
                if (!awakenScrollBars()) {  
                    postInvalidateOnAnimation();  
                }  
            }  
        }  
    
        /** 
         * Move the scrolled position of your view. This will cause a call to 
         * {@link #onScrollChanged(int, int, int, int)} and the view will be 
         * invalidated. 
         * @param x the amount of pixels to scroll by horizontally 
         * @param y the amount of pixels to scroll by vertically 
         */  
        public void scrollBy(int x, int y) {  
            scrollTo(mScrollX + x, mScrollY + y);  
        }

    mScrollX = 100,mScrollY = 100;

    那么 view的位置在哪,相对于原来的位置是左移还是右移?

    偏移量的公式:原点减去坐标

    根据公式首先我们来确定原点在哪 ?

    举例说明:
    三种布局:打开手机布局边界
    三种情况scrollTo(100, 100)和scrollTo(-100, -100); ;

    情况一

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/linear"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#e2ed0d"
        >
    
      <View
          android:id="@+id/view"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:background="@android:color/holo_red_dark"
          />
    
    </RelativeLayout>  
    

    image

    原始状态 点击移动(两种情况) 都是一样
    08-15 13:38:26.359 24196-24196/com. I/cjw: view  getX  = 0.0
    08-15 13:38:26.359 24196-24196/com. I/cjw: view  getY  = 0.0
    08-15 13:38:26.359 24196-24196/com. I/cjw: view  getLeft = 0
    08-15 13:38:26.359 24196-24196/com. I/cjw: view  getTop  = 0

    情况二

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/linear"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#e2ed0d"
        >
    
      <View
          android:id="@+id/view"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_centerInParent="true"
          android:background="@android:color/holo_red_dark"
          />
    
    </RelativeLayout>

    image

    原始状态 点击移动(两种情况) 都是一样
    08-15 13:50:45.479 27246-27246/com. I/cjw: view  getX  = 465.0
    08-15 13:50:45.479 27246-27246/com. I/cjw: view  getY  = 849.0
    08-15 13:50:45.479 27246-27246/com. I/cjw: view  getLeft = 465
    08-15 13:50:45.479 27246-27246/com. I/cjw: view  getTop  = 849

    情况三

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/linear"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#e2ed0d"
        >
    
      <View
          android:id="@+id/view"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_margin="100dp"
          android:background="@android:color/holo_red_dark"
          />
    
    </RelativeLayout>

    红色阴影为 margin=”100dp”
    image

    原始状态 点击移动(两种情况) 都是一样
    08-15 14:03:51.549 30241-30241/com. I/cjw: view  getX  = 300.0
    08-15 14:03:51.549 30241-30241/com. I/cjw: view  getY  = 300.0
    08-15 14:03:51.549 30241-30241/com. I/cjw: view  getLeft = 300
    08-15 14:03:51.549 30241-30241/com. I/cjw: view  getTop  = 300

    Activity 代码

    
    import android.app.Activity;
    import android.os.Bundle;
    import android.util.Log;
    import android.view.View; 
    
    public class MainActivity extends Activity {
        private View view;
        private View linear;
    
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main_activity);
            view = findViewById(R.id.view);
            linear =  findViewById(R.id.linear);
            view.post(new Runnable() {
                @Override
                public void run() {
                    print();
                }
            });
    
            view.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    linear.scrollTo(100, 100);
                    //linear.scrollTo(-100, -100);
                    print();
                }
            });
        }
    
        private void print() {
            Log.i("cjw", "view  getX  = " + view.getX());
            Log.i("cjw", "view  getY  = " + view.getY());
            Log.i("cjw", "view  getLeft = " + view.getLeft());
            Log.i("cjw", "view  getTop  = " + view.getTop());
        }
    }
    

    是不是觉得原点在红块块的左上角 , NO NO NO··
    原点是父空间的左上角(黄色区域) why ? ?
    scrollTo 移动不是红块 是移动的父控件里面的布局
    不信可以在里面再加个蓝色的方块

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/linear"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#e2ed0d"
        >
    
      <View
          android:id="@+id/view"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_margin="100dp"
          android:background="@android:color/holo_red_dark"
          />
    
      <View
          android:id="@+id/view2"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_margin="100dp"
          android:layout_centerInParent="true"
          android:background="@android:color/holo_blue_dark"
          />
    
    </RelativeLayout>

    蓝色的方块,会和红色的方块一起移动

    好像懂了? 可这玩意有什么用了 。。。。
    如侧滑,自己写viewPage ,侧滑菜单,scroller 都有用到。


    我立体思维差,那就先记住几点规则

    • 原点: 父控件的左上角 ,参照物,不管怎么移动,以左上角来移动其他坐标
    • 偏移量: 原点减去getX getY (就是该子控件在父控件的位置。)
    • scrollTo,scrollBy 都是移动的偏移量
    • scrollBy 偏移量小于0 ->右边移动,偏移量大于0 ->左边移动 , 偏移量为0 不动
    • scrollTo 偏移量小于0 ->右边移动,偏移量大于0 ->左边移动 , 偏移量为0 到原点 。
    • scrollBy 相对与本身在的位置,scrollTo移动不参考本身的位置直接跳对应的偏移量。

    例子 :
    Activity代码

    import android.app.Activity;
    import android.os.Bundle;
    import android.util.Log;
    import android.view.View;
    
    public class MainActivity extends Activity {
        private View view;
        private View linear;
        private boolean click = false;
    
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main_activity);
            view = findViewById(R.id.view);
            linear = findViewById(R.id.linear);
            view.post(new Runnable() {
                @Override
                public void run() {
                    print();
                }
            });
    
            view.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    if (click) {
                        linear.scrollTo((int) view.getX(), (int) view.getY());
                    } else {
                        //linear.scrollTo(-100, -100);
                        //linear.scrollTo(0, 0);
                        //linear.scrollBy(-100, -100);
                        linear.scrollBy(-(int) view.getX(), -(int) view.getY()); //这个流程图没有画
                    }
                    click = !click;
                    print();
                }
            });
        }
    
        private void print() {
            Log.i("cjw", "view  getX  = " + view.getX());
            Log.i("cjw", "view  getY  = " + view.getY());
            Log.i("cjw", "view  getLeft = " + view.getLeft());
            Log.i("cjw", "view  getTop  = " + view.getTop());
        }
    }
    

    xml代码

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/linear"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#e2ed0d"
        >
    
      <View
          android:id="@+id/view"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_margin="100dp"
          android:background="@android:color/holo_red_dark"
          />
    
      <View
          android:id="@+id/view2"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:layout_centerInParent="true"
          android:background="@android:color/holo_blue_dark"
          />
    
    </RelativeLayout>

    scrollTo(-100, -100);

    这种情况 本身自带了个偏移量(margin=”100dp”)
    实际上
    原始位置就是 scrollTo(-margin, -margin);
    第一次点击 是 scrollTo(-margin + (-100), -margin + (-100));
    第二次点击 是 scrollTo(-margin + (getX()), -margin + (getY()));
    第三次点击 是 scrollTo(-margin + (-100)), -margin + (-100));

    scrollTo(0, 0)

    image

    scrollBy(-100, -100)


    mScrollX:表示离视图起始位置的x水平方向的偏移量
    mScrollY:表示离视图起始位置的y垂直方向的偏移量
    分别通过getScrollX() 和getScrollY()方法获得。
    注意:mScrollX和mScrollY指的并不是坐标,而是偏移量


    getRawX、getRawY与getX、getY的区别

    在编写android的自定义控件,或者判断用户手势操作时
    往往需要使用MotionEvent中
    getRawX()、getRawY()与getX()、getY()取得触摸点在X轴与Y轴上的距离
    这四个方法都返回一个float类型的参数,单位为像素(Pixel)
    getRawX()、getRawY()返回的是触摸点相对于屏幕的位置
    getX()、getY()返回的则是触摸点相对于父控件View的位置
    image


    怎么样移动View?

    通过更改view的left,top,right,bottom来移动view

    layout(l,r,t,b);
    offsetLeftAndRight(offset);//同时对left和right进行偏移
    offsetTopAndBottom(offset);//同时对top和bottom进行偏移

    left:表示当前view的左边距父view原点的距离
    top:表示当前view的顶部距父view原点的距离

    通过更改scrollX和scrollY来移动view,即scrollTo和scrollBy方法
    如果是在ViewGroup中使用,则可以让当前view的所有子view同时移动,如果是对单个view使用,则可以让view的内容移动

    让View平滑移动
    1. Scroller实现

    //第一步 初始化Scroller
    Scroller scroller =new Scroller(getContext()); 
    //第二步 开启模拟过程
    //int startX; 滑动动作的起始点x坐标
    //int startY; 滑动动作的起始点y坐标
    //int dx; x轴偏移量向左为负,向右为正(即负值向右移,正值向左移)是x轴不是startX的偏移量
    //int dy; y轴偏移量向左为负,向右为正(即负值向右移,正值向左移) 是y轴不是startY的偏移量
    scroller.startScroll(startX, startY, dx, dy,500);
    invalidate();
    //第三步 在模拟过程中获取view真实移动时的值,并调用scrollTo去真正移动view
    public void computeScroll() {
             super.computeScroll();
             if(scroller.computeScrollOffset()){
                      scrollTo(scroller.getCurrX(), scroller.getCurrY());
                     invalidate();
             }
    }
    
    1. 自定义动画实现
      用自定义动画实现View平滑移动
      使用强大的ViewDragHelper
    展开全文
  • scrollTo 平滑滚动

    2021-04-02 22:30:33
    scrollTo 作用 Element 的 scrollTo() 方法可以使界面滚动到给定元素的指定坐标位置。 使用 element.scrollTo(x-coord, y-coord) x-coord 滚动到位置水平轴上距元素左上角的像素。 y-coord 滚动到位置竖直轴上距...

    scrollTo

    作用

    Element 的 scrollTo() 方法可以使界面滚动到给定元素的指定坐标位置。

    使用

    1. element.scrollTo(x-coord, y-coord)
    • x-coord 滚动到位置水平轴上距元素左上角的像素。
    • y-coord 滚动到位置竖直轴上距元素左上角的像素。
    element.scrollTo(0, 1000);
    
    1. element.scrollTo(options)
    • options 是一个ScrollToOptions对象。

    ScrollToOptions

    • top: 指定 window 或元素 Y 轴方向滚动的像素数。
    • left: 指定 window 或元素 X 轴方向滚动的像素数。
    • behavior: 指定滚动是否应该平滑进行,还是立即跳到指定位置。支持参数 smooth(平滑滚动), instant(瞬间滚动),默认值 auto(同instant)
    element.scrollTo({
      top: 100,
      left: 100,
      behavior: 'smooth'
    });
    

    ScrollToOptions 兼容

    ScrollToOptions 兼容

    展开全文
  • 主要介绍了jQuery中ScrollTo用法,结合实例形式分析了jQuery中ScrollTo的功能、使用方法与相关操作技巧,需要的朋友可以参考下
  • window.scrollTo

    2021-01-11 06:11:10
    <div><p>window.scrollTo</p><p>该提问来源于开源项目:Fyrd/caniuse</p></div>
  • jQuery scrollTo

    千次阅读 2015-12-03 21:31:10
    原文地址:http://lions-mark.com/jquery/scrollTo/ ....scrollTo() Categories: Manipulation > Style Properties .scrollTo( target, options, [, complete] )Returns: jQuery Description: S

    原文地址:http://lions-mark.com/jquery/scrollTo/


    .scrollTo( target, options, [, complete] )Returns: jQuery

    Description: Scroll page or scrollable element to a specific offset or target element.

    • version pending: 1.9.x.scrollTo( target, options, [, complete] )

      targetA selector, element, or number.

      optionsA map of additional options to pass to the method. Supported keys:

      • scrollTarget: A element, string, or number which indicates desired scroll position.
      • offsetTop: A number that defines additional spacing above scroll target.
      • duration: A string or number determining how long the animation will run.
      • easing: A string indicating which easing function to use for the transition.

      completeA function to call once the animation is complete.

    The .scrollTo() method animates page or element scrolling to a specified target. The specified target can be an integer, an element, or a variable referencing an element. The only required parameter is the target.

    ScrollTo Properties and Values

    Any numeric property values should be a single numeric value. The target and scrollTarget properties are the same with scrollTarget taking precedence over target. When passing a numeric value into either target or scrollTarget it must be an integer and not a string.

    Durations are given in milliseconds; higher values indicate slower scrolling animation, not faster. The default duration is 500 milliseconds. The strings 'fast' and 'slow'can be supplied to indicate durations of 200 and 600 milliseconds, respectively.

    Complete Function

    If supplied, the complete callback function is fired once scrolling is complete. This can be useful for stringing different animations together in sequence. The callback is not sent any arguments, but this is set to the DOM element being animated. If multiple elements are animated, the callback is executed once per matched element, not once for the scroll animation as a whole.

    Basic Usage

    To scroll the screen to a matched target element:

    $('body').scrollTo('#target');

    To scroll a particular scrollable element to a specified value:

    $('#content').scrollTo(500);
    

    Scrolling to a desired element with options set:

    $('body').scrollTo('#post-5',{duration:'slow', offsetTop : '50'});
    

    Plugin Source:


    $.fn.scrollTo = function( target, options, callback ){
      if(typeof options == 'function' && arguments.length == 2){ callback = options; options = target; }
      var settings = $.extend({
        scrollTarget  : target,
        offsetTop     : 50,
        duration      : 500,
        easing        : 'swing'
      }, options);
      return this.each(function(){
        var scrollPane = $(this);
        var scrollTarget = (typeof settings.scrollTarget == "number") ? settings.scrollTarget : $(settings.scrollTarget);
        var scrollY = (typeof scrollTarget == "number") ? scrollTarget : scrollTarget.offset().top + scrollPane.scrollTop() - parseInt(settings.offsetTop);
        scrollPane.animate({scrollTop : scrollY }, parseInt(settings.duration), settings.easing, function(){
          if (typeof callback == 'function') { callback.call(this); }
        });
      });
    }


    Note: Currently the core jQuery library includes "<code>linear</code>" and "<code>swing</code>". To use other easing methods you will need to extend your easing methods via separate plugin.

    Example: Click the button to animate the div with a number of different properties.

    <!DOCTYPE html>
    <html>
    <head>
    	<style>
    		#demo1 { position:relative; height:350px; }
    		#demo-nav { position:absolute; top:5px; margin:5px; }
    		#demo-stage { position:relative; display:block; top:40px; background:#fff; height:300px; overflow:auto; }
    		#demo-stage li, #demo-stage li h3 { color:#777; }
    		#demo-stage li.active, #demo-stage li.active h3 { color:#000; }
    	</style>
    	<script src="http://code.jquery.com/jquery-latest.js"></script>
    	<script src="jquery-scrollTo.js"></script>
    </head>
    <body>
    
    <div id="demo1">
    	<section id="demo-nav">
    		<nav>
    			<span>Scroll To: </span>
    			<button class="next">Next Chapter</button>
    			<button class="last">Last Chapter</button>
    			<button class="first">First Chapter</button>
    		</nav>
    	</section>
    	<section id="demo-stage" class="jq-clearfix">
    		<ul>
    			<li><h3>Chapter {nth-child}</h3> <p>{content}</p></li>
    		</ul>
    		<div class="jq-clearfix"></div>
    	</section>
    </div>
    
    <script>
    // [start] Demo Code //
    	var $chapters = $('#demo-stage').find('ul').children('li');
    	var $chScrollPositions = new Array();
    	
    	// Cache Scroll Positions for Each Chapter
    	$chapters.each(function(i){
    		$chScrollPositions[i] = Math.round($(this).offset().top - $('#demo-stage').offset().top) - 10;
    	});
    	$chapters.eq(0).addClass('active'); // Set First Chapter Active on Start
    	
    	$('#demo-nav > nav > button').click(function(){
    		var last = $chapters.parent().find('li.active').removeClass('active').index();
    		var next;
    		
    		switch($(this).index()){
    			case 1:	// Action - Next Chapter
    				next = (last + 1 == $chapters.length) ? 0 : last + 1; // Loop around to first chapter
    			break;
    			case 2:	// Action - Last Chapter
    				next = $chapters.length - 1;
    			break;
    			case 3:	// Action - First Chapter
    				next = 0;
    			break;
    		}
    		$chapters.eq(next).addClass('active'); // Set Next Chapter Active
    		$('#demo-stage').scrollTo($chScrollPositions[next]);
    	});
    // [end] Demo Code //
    </script>
    
    </body>
    </html>



    展开全文
  • scrollTo兼容处理

    2021-04-14 17:01:18
    Element 的 scrollTo() 方法 可以使界面滚动到给定元素的指定坐标位置。 语法 element.scrollTo(x-coord, y-coord) element.scrollTo(options) 参数 参数名 描述 x-coord 期望滚动到位置水平轴上距元素...
  • <div><p>This line of code below works great for stopping a scrollTo animation on the body, but when using scrollTo to animate an element buried in the markup, it doesn't seem to stop or dequeue ...
  • scrollTo not working

    2020-12-05 08:35:42
    I tried making modifications to the scrollTo value but fail to see it working. What is the right way to achieve an offset from the top of the page, so that the selection and title are aligned? <p>...
  • scrollToscrollTo.js

    千次阅读 2013-08-18 23:25:47
    最近做一个项目前端要用到scrollTo和滚动视觉差。顺便把两个东西拿出来温习一下。 HTML DOM里面定义了scrollTo方法,用法:scrollTo(xpos,ypos),把内容滚动到当前的指定位置。但是这个充其量只能说是移动而不能...
  • scrollTo is undefined

    2020-12-27 03:03:44
    <div><p>When I use this plugin with ListView, the <code>this.refs.listView.scrollTo</code> is undefined. <pre><code> render() { var ds = this.state.dataSource.cloneWithRows(this.props.messages);...
  • js插件 scrollto

    2013-05-29 10:02:33
    ScrollTo:平滑滚动到页面指定位置
  • scrollTo()

    万次阅读 2017-06-12 16:48:48
    scrollTo()
  • android scrollto

    2015-09-06 10:09:11
     Android View视图是没有边界的,Canvas是没有边界的,但是有物理的坐标用于控制显示的区域,显示区域的左上角为(0,0),view的scrollto 实质是对坐标原点的移动,so scrollto(-100,-100),就是显示区域的左上移, ...
  • <p>i have not been able to fix the error i see in behavior when i use scrollto in a side bar, going down works fine but i cannot go back up, it stops halfway. Anyway ideas?</p><p>该提问来源于开源项目&...
  • Now, when I click a feature, it expands and then a second later (presumably when the URL is updated) it causes scrollTo. This is jarring. <p>I think we should only do the scrollTo (a) during onload ...
  • Fix ScrollTo on Mac

    2021-01-12 10:10:43
    <div><p>Fix #3319 [MAC] ScrollTo method is not working in Xamarin.Forms for mac platform <h3>Description of Change <p>Implements ListView ScrollTo method form macOS. <h3>Issues Resolved ### <ul><li>...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 3,820
精华内容 1,528
关键字:

scrollto