Skip to content

[2.1.0] Fotorama gallery touch devices - scrolling up/down does not work #5853

Closed
@peec

Description

@peec

When in mobile view and you try to scroll down, and is on a product page you normally put the finger on the large image of the product and swipe down/up to scroll on mobile devices. This does not work. When trying to drag from the fotorama gallery, nothing happens / it does not scroll. Since the image takes roughly 60% of the screen on mobile devices, this issue is very critical.

See the screenshot of explanation.

Preconditions

  1. Magento 2.1.0 GA
  2. PHP 7.0.6
  3. Mysql 5.6
  4. Use Luma theme

Steps to reproduce

  1. Use the e.g. the Luma theme
  2. Go into the frontend of magento and into a product.
  3. On the touch screen try to put the finger on the product image and drag down / up. You notice that it never scrolls.

Expected result

  1. Should scroll down/up even if dragging from the image.

Actual result

  1. Does not scroll

Illustration of how to reproduce the bug:
image

Some times you get this error also ( might be related ):

Deferred long-running timer task(s) to improve scrolling smoothness. See crbug.com/574343.
fotorama.js:1372 Uncaught TypeError: Cannot read property 'clientY' of undefinedextendEvent @ fotorama.js:1372onMove @ fotorama.js:1428
fotorama.js:1216 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions