gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

IOS auto scrolling doesn't work

Open lorenzogonnelli opened this issue 1 year ago • 6 comments

While testing my webapp on ios devices, i noticed that while trying to move a widget, the grid view doesn't scroll up or down correctly.

Your environment

  • version of gridstack.js - 10.0.1
  • which browser/OS - Every browser on IOS

Steps to reproduce

Open this demo page: https://gridstackjs.com/demo/react-hooks.html on every browser on an ios device. However it appears to have this bug on every demo page.

Stack 4-5 tall widgets until the grid container is taller then the visible view and try to move the first one to the end. It should scroll down but insted it doesn't. It appears to be glitching in a weird way.

Expected behavior

The page should scroll correctly. On android & desktop it works fine.

https://github.com/gridstack/gridstack.js/assets/12252639/6bfbf53a-c579-4e88-afe5-7a3ce4c45cd2

lorenzogonnelli avatar Apr 22 '24 12:04 lorenzogonnelli

@adumesny I've got the same problem here with IOS, is there any suggestion to fix this?

SalvatoreCampagnese avatar Apr 24 '24 16:04 SalvatoreCampagnese

I don't have the time, nor do I have IOS to debug this on so unlikely it will be looked at - would need a big donate to have it fixed

adumesny avatar Apr 24 '24 16:04 adumesny

What device & browser are you using? I tested on a Macbook using the Firefox iPhone simulator as well as my Android phone to see if there was some general mobile bug, but everything is working fine.

onx2 avatar Sep 07 '24 02:09 onx2

What device & browser are you using? I tested on a Macbook using the Firefox iPhone simulator as well as my Android phone to see if there was some general mobile bug, but everything is working fine.

i used an iphone 14 pro (native device only) and chrome as browser, but it looks like the same behaviour is happening on safari aswell, and it's still happenin. I managed to find a "solution" with patch-package by implementing a library that manages the scroll, but it still sucks as a workaround and it would be good to have this fixed since it's a pretty major bug and it won't let me use this library for my ios customers. thanks :)

lorenzogonnelli avatar Oct 15 '24 09:10 lorenzogonnelli

and i would highly consider donating to have this fixed

lorenzogonnelli avatar Oct 15 '24 10:10 lorenzogonnelli

@lorenzogonnelli you reach out on slack if you want to donate to have this fixed - as long as I can reproduce this on desktop emulation mode (windows chrome) I might be able to take a look. I can borrow an iphone to verify it too.

adumesny avatar Nov 18 '24 06:11 adumesny