← Back to team overview

touch-packages team mailing list archive

[Bug 1201394] Re: [SDK] the flickables should only be active if there is enough content for scrolling

 

** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1201394

Title:
  [SDK] the flickables should only be active if there is enough content
  for scrolling

Status in Ubuntu UX bugs:
  Triaged
Status in “ubuntu-system-settings” package in Ubuntu:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  The current behaviour is somewhat strange ... if you have content
  fitting on screen and use a flickable, the content is going to scroll
  offscreen and bounce back ... shouldn't it rather do nothing? (it's
  easy to trigget scrolling by mistake when trying to interact with the
  UI)

  In ubuntu-system-settings we worked around the behaviour by using
  "boundsBehavior: Flickable.StopAtBounds" in our flickables, but that's
  changing the scrolling behaviour when panels don't fit on screen

  The issue was discussed on IRC and we are now changing to 
                  boundsBehavior: (contentHeight > mainPage.height) ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds

  We agreed it would be good to have a bug to discuss the default
  behaviour and see if we need that changed in the toolkit, so here we
  go... ;-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1201394/+subscriptions