Skip to content

iOS scrolling stops when horizontal scoll bar goes to start #1055

@stuta

Description

@stuta

Describe the bug

Go to https://6pac.github.io/SlickGrid/examples/example-trading-esm.html with iPad or iPhone.

When you swipe down directly or right-down scroll works perfectly. But when you swipe left-down so that the horizontal scrollbar hits the left start, then the scroll stops. It's very hard to scroll up or down when you want to see the first column. This problem does not happen when the horizontal scrollbar is to the right.

I guess that this is due to a feature when you drag the area to the right it shows white space before the first column. Maybe it has some function, but it is not correct because headers do not move at the same time. Remove that feature and the scroll stopping will be fixed.

I found an old issue mleibman/SlickGrid#573. This fix works because it removes the horizontal scrollbar.

.slick-viewport {
	-webkit-overflow-scrolling: touch;
	overflow-x: hidden !important;
}

Reproduction

Go to https://6pac.github.io/SlickGrid/examples/example-trading-esm.html with iPad or iPhone.

Which Framework are you using?

Vanilla / Plain JS

Environment Info

| Executable          | Version |
| ------------------- | ------- |
| SlickGrid | 5.12.0 |
| Browser(s)          | All iOS (tested Safari, Edge) |
| System OS           | tested iPad, iPhone |

Validations

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions