Skip to content

Commit

Permalink
fixed bug when modal was bigger than window height
Browse files Browse the repository at this point in the history
  • Loading branch information
zackify committed Sep 22, 2015
1 parent 37c3e37 commit 9c32e05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 67 deletions.
63 changes: 0 additions & 63 deletions build/react-slug.js

This file was deleted.

5 changes: 3 additions & 2 deletions build/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ var modal = {
background: 'rgba(0, 0, 0, 0.8)',
zIndex: 99999,
transition: 'opacity 1s ease-in',
pointerEvents: 'auto'
pointerEvents: 'auto',
overflowY: 'auto'
};

var container = {
Expand Down Expand Up @@ -45,4 +46,4 @@ exports['default'] = {
container: container,
close: close
};
module.exports = exports['default'];
module.exports = exports['default'];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simple-react-modal",
"description": "The simplest modal",
"version": "0.4.6",
"version": "0.4.7",
"main": "./build/simple-modal.js",
"directories": {
"example": "example"
Expand Down
3 changes: 2 additions & 1 deletion src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ var modal = {
background: 'rgba(0, 0, 0, 0.8)',
zIndex: 99999,
transition: 'opacity 1s ease-in',
pointerEvents: 'auto'
pointerEvents: 'auto',
overflowY: 'auto'
}

var container = {
Expand Down

0 comments on commit 9c32e05

Please sign in to comment.