Skip to content

Commit

Permalink
Updated component to version 2.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Aug 7, 2017
1 parent 8de3c26 commit b3d3055
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 20 deletions.
4 changes: 4 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Version 2.2.12 - Aug 07, 2017

- **Popup** - Fixed a regression with `popup` in `2.2.11` that caused popups to appear out of place in some cases due to incorrect calculation of `offsetParent` [#5549](https://github.com/Semantic-Org/Semantic-UI/issues/5549) [#5597](https://github.com/Semantic-Org/Semantic-UI/issues/5597) [#5590](https://github.com/Semantic-Org/Semantic-UI/issues/5590)

### Version 2.2.11 - July 11, 2017

- **Popup** - Added `bind clickaway` `bind touch close` `bind close on scroll` behaviors to make it easier for `on: 'manual'` popup to specify behavior
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"framework"
],
"license": "MIT",
"version": "2.2.11"
"version": "2.2.12"
}
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.11 - Popup
* # Semantic UI 2.2.12 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -126,7 +126,7 @@ module.exports = function(parameters) {
}
if(settings.popup) {
$popup.addClass(className.loading);
$offsetParent = module.get.offsetParent($target);
$offsetParent = module.get.offsetParent();
$popup.removeClass(className.loading);
if(settings.movePopup && module.has.popup() && module.get.offsetParent($popup)[0] !== $offsetParent[0]) {
module.debug('Moving popup to the same offset parent as target');
Expand All @@ -140,7 +140,7 @@ module.exports = function(parameters) {
$offsetParent = (settings.inline)
? module.get.offsetParent($target)
: module.has.popup()
? module.get.offsetParent($target)
? module.get.offsetParent($popup)
: $body
;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semantic-ui-popup",
"version": "2.2.11",
"version": "2.2.12",
"title": "Semantic UI - Popup",
"description": "Single component release of popup",
"homepage": "http://www.semantic-ui.com",
Expand Down
2 changes: 1 addition & 1 deletion popup.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.11 - Popup
* # Semantic UI 2.2.12 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
6 changes: 3 additions & 3 deletions popup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.11 - Popup
* # Semantic UI 2.2.12 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -125,7 +125,7 @@ $.fn.popup = function(parameters) {
}
if(settings.popup) {
$popup.addClass(className.loading);
$offsetParent = module.get.offsetParent($target);
$offsetParent = module.get.offsetParent();
$popup.removeClass(className.loading);
if(settings.movePopup && module.has.popup() && module.get.offsetParent($popup)[0] !== $offsetParent[0]) {
module.debug('Moving popup to the same offset parent as target');
Expand All @@ -139,7 +139,7 @@ $.fn.popup = function(parameters) {
$offsetParent = (settings.inline)
? module.get.offsetParent($target)
: module.has.popup()
? module.get.offsetParent($target)
? module.get.offsetParent($popup)
: $body
;
}
Expand Down
2 changes: 1 addition & 1 deletion popup.min.css

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

11 changes: 1 addition & 10 deletions popup.min.js

Large diffs are not rendered by default.

0 comments on commit b3d3055

Please sign in to comment.