You give the option to apply an overscroll animation to containers but there isn’t really an easy way to utilise it.

You give the option to apply an overscroll animation to containers but there isn’t really an easy way to utilise it. It wourd be nice if there were four new events added for containers – overscroll top, left, bottom and right.

]]>

4 Commentsto You give the option to apply an overscroll animation to containers but there isn’t really an easy way to utilise it.

  1. Anonymous says:

    < ![CDATA[

    I think I understand what you mean: you would like to trigger some event when the desktop cannot scroll anymore as if it was a swipe event, right?


    Maybe this can be detected through the position change event but agreed, this is less than easy.


    Instead of adding new events, I think the launcher could detect an overscroll event and translate it into a swipe event (since anyway swipe cannot be used if the desktop scrolls). In the past I had troubles to implement this correctly, I don’t recall exactly why, but since I changed so many thing in this area that I will have a look at this again.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yeah. I have a scrollable panel that prevents the swipe event. Currently have it set up using two stop points – one to stop the scrolling at the top and another to detect scrolling past that point and trigger the event – but its is tedious and clunky.



    I figured that somewhere you are detecting the overscroll to apply the animation so it would be possible to trigger an event at that point in the code.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    In fact this is a bit more complex: this is not exactly an animation, the desktop (or container) is still being scrolled but with a variable amount. The animation is only played once the scrolling stops (finger up), but I was thinking that the event should be triggered right after the first limit is reached. But it could work when the finger is released too, and it would be easier to implement.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    I definitely think it should be on finger release. That gives the user the option to cancel the overscroll. There should also be a certain distance that has to be reached to trigger the event too to prevent the event being triggered on inertial scrolls.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *