-
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): Force scroll to 100% when necessary
Containers that have overflow: hidden set are not able to naturally scroll to 100%, because they cannot handle native scroll events; only mousewheel. It's a long discussion; see #3772 for notes. This change catches a mousewheel event that should put the container at the max scroll position (basically scrollHeight - offsetHeight) and manually sets the scrollTop to that amount. Fixes #3772
- Loading branch information
Showing
4 changed files
with
22 additions
and
7 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
3bcbe72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not working !!
I have disable scrolling and make viewport as 100%
I also updated new library, but still wheel scrolling not working.
3bcbe72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.ui-grid-viewport {
height: 100% !important;
}
Wheel scrolling not working