Skip to content

Commit

Permalink
Fix IE 11 small bug close #11
Browse files Browse the repository at this point in the history
  • Loading branch information
barcia committed Feb 21, 2019
1 parent b777761 commit 6d8e6ce
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Changelog
## [1.2.1](https://github.com/barcia/swibe/releases/tag/1.2.1) - 2019-02-21
### Fixed
- Small bug in IE11 that not return body scroll after close menu

## [1.2.0](https://github.com/barcia/swibe/releases/tag/1.2.0) - 2019-02-21
### Changed
- Changed [WebPack](https://webpack.js.org) bundler to [Rollup](https://rollupjs.org/)
- Remove extension from some markdown files
- Update README
### Fixed
- Small bug in IE11 that not return body scroll after close menu

## [1.1.0](https://github.com/barcia/swibe/releases/tag/1.1.0) - 2019-01-16
### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/swibe.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swibe",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"description": "A simple swipe menu",
"homepage": "http://barcia.github.io/swibe",
Expand Down
3 changes: 2 additions & 1 deletion src/swibe.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Swibe 1.2.0
* Swibe 1.2.1
* MIT License
* https://github.com/barcia/swibe
*/
Expand Down Expand Up @@ -84,6 +84,7 @@ export default function Swibe(customConfig) {
menu.close();
trigger.close();
shadow.close();
document.body.style.overflow = ''; //IE11 Fallback
document.body.style.overflow = null;
state = false;
return true;
Expand Down

0 comments on commit 6d8e6ce

Please sign in to comment.