-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Grid): Fix a few mobile-browser issues
1. Allow 0-sized scrollbars, which pertains to Android and iOS in my testing. The scrollbar simply doesn't get displayed. This prevents their weird horizontal offset issue. The downside is that there's no scrollbar but so far I can't find a way around it. 2. Fix header cell touch events. Sorting by touch should work, as well as showing the menu by long-clicking on the header cell. What still remains is all the other touch events (row selection, header cell menu button, etc).
- Loading branch information
Showing
5 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -302,7 +302,7 @@ | |
}, decelerateInterval); | ||
} | ||
|
||
// decelerate(); | ||
decelerate(); | ||
} | ||
|
||
if (GridUtil.isTouchEnabled()) { | ||
|