How to prevent navigation to an area

How to prevent navigation to an area

The purpose is to prevent scrolling in a region which should remain inaccessible, typically a corner created by using two side areas.

On the screenshot two “side bars” are visible (clock and calculator on top, camera, gallery to the right).

Prerequisites:

– LL V8.7.b3

– Option “Snap to pages” is off

First prevent scrolling on the corner with two SP configured as barrier : 1 and 2

Then prevent scrolling beyond the side bars (top and right) with SP 3 and 4 (also configured as snapping for easy scrolling)

Finally add SP 5 and 6 which will respectively stop vertically and horizontally on the page edges. These SP are snapping too.

This way, if you scroll up, clock and calculator will appear, but you won’t be able to scroll to the right. You need to scroll down a bit before, then scroll right to reveal camera and gallery.

]]>

11 Commentsto How to prevent navigation to an area

  1. Anonymous says:

    < ![CDATA[

    No problem Hamza Khan , as you can see this can rapidly become tricky to place and configure SPs. Hope this image will help understand how they work !

    ]]>

  2. Anonymous says:

    < ![CDATA[

    took me a little while to wrap my head around SDP’s, with the help of the community i was finally able to get started on my 360 clone…

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Pierre Hébert Awesome work, thanks. But could you please make a sample video explaining this new functionality when you get time. It would be really helpful for many people.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    I am waiting for a 4.4 device in order to be able to make decent screencasts 😉

    ]]>

  5. Anonymous says:

    < ![CDATA[

    I’m kinda stuck, Pierre. When you enable stop scroll, stop drag and a barrier. Will it stop you from scrolling the way it is pointing or the opposite way? Also, what does snapping exactly do? Thanks!

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Make sure to disable snap to pages first, it bypass all stop points.


    The default is to stop in all directions, but ticking/unticking directions will configure it so that it stops when the desktop is scrolled in the direction of the arrow.


    Snapping will automatically extend scrolling until the nearest snapping stop point, a bit like when the option snap to pages is enabled, but with stop points instead of pages boundaries.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Ohh I get it now. So snapping is like a railroad, yeah?

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Or a magnet !

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Thanks Pierre Hébert . I hope one day there is a dedicated tutorial for stop points, I just can’t wrap my head around this.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    They hide themselves when you exit edit layout mode

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Maybe have a look at the stop point related option in General section. There is a “debug” option to help adjust stop points, I think this option is checked.

    ]]>

Leave a Reply

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