Skip to content

Commit

Permalink
Merge branch 'bugfix-scrolling-on-touch-devices'
Browse files Browse the repository at this point in the history
Conflicts:
	CHANGELOG.md
  • Loading branch information
drublic committed Jun 6, 2014
2 parents d5dae8e + 5f51571 commit 1074efa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## HEAD
* Fix position of close button on small screens
* Check if activeElement is available in max-width

## 1.1.5 - 05.06.2014
* Fix position of close button on small screens
* Fix scrolling on touch devices

## 1.1.4 - 05.06.2014
* Fix max-width plugin to work on all sizes and listen to resize
Expand Down
1 change: 1 addition & 0 deletions _modal-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ html {
max-height: 80vh;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;

// This removes the scrollbar in lt IE9
@media \0screen\,screen\9 {
Expand Down
1 change: 1 addition & 0 deletions build/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ html {
max-height: 80vh;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
@media \0screen\,screen\9 {
.modal--show .modal-content {
Expand Down
1 change: 1 addition & 0 deletions test/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ html {
max-height: 80vh;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
@media \0screen\,screen\9 {
.modal--gallery .modal-content, .modal--fade .modal-content, .modal--plainscreen .modal-content, .modal--zoomin .modal-content, .modal--zoomout .modal-content, .modal--slidefromtop .modal-content, .modal--bouncefromtop .modal-content, .modal--bouncefromtopshaky .modal-content, .modal--show .modal-content, ._modal .modal-content {
Expand Down

0 comments on commit 1074efa

Please sign in to comment.