fomantic-ui 2.9.0-beta.325 → 2.9.0-beta.327

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +34 -14
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +2 -2
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/flyout.css +1 -1
  46. package/dist/components/flyout.js +3 -2
  47. package/dist/components/flyout.min.css +1 -1
  48. package/dist/components/flyout.min.js +2 -2
  49. package/dist/components/form.css +1 -1
  50. package/dist/components/form.js +2 -1
  51. package/dist/components/form.min.css +1 -1
  52. package/dist/components/form.min.js +2 -2
  53. package/dist/components/grid.css +1 -1
  54. package/dist/components/grid.min.css +1 -1
  55. package/dist/components/header.css +1 -1
  56. package/dist/components/header.min.css +1 -1
  57. package/dist/components/icon.css +1 -1
  58. package/dist/components/icon.min.css +1 -1
  59. package/dist/components/image.css +1 -1
  60. package/dist/components/image.min.css +1 -1
  61. package/dist/components/input.css +1 -1
  62. package/dist/components/input.min.css +1 -1
  63. package/dist/components/item.css +1 -1
  64. package/dist/components/item.min.css +1 -1
  65. package/dist/components/label.css +1 -1
  66. package/dist/components/label.min.css +1 -1
  67. package/dist/components/list.css +1 -1
  68. package/dist/components/list.min.css +1 -1
  69. package/dist/components/loader.css +1 -1
  70. package/dist/components/loader.min.css +1 -1
  71. package/dist/components/message.css +1 -1
  72. package/dist/components/message.min.css +1 -1
  73. package/dist/components/modal.css +1 -1
  74. package/dist/components/modal.js +3 -2
  75. package/dist/components/modal.min.css +1 -1
  76. package/dist/components/modal.min.js +2 -2
  77. package/dist/components/nag.css +1 -1
  78. package/dist/components/nag.js +1 -1
  79. package/dist/components/nag.min.css +1 -1
  80. package/dist/components/nag.min.js +1 -1
  81. package/dist/components/placeholder.css +1 -1
  82. package/dist/components/placeholder.min.css +1 -1
  83. package/dist/components/popup.css +1 -1
  84. package/dist/components/popup.js +1 -1
  85. package/dist/components/popup.min.css +1 -1
  86. package/dist/components/popup.min.js +1 -1
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +1 -1
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +1 -1
  91. package/dist/components/rail.css +1 -1
  92. package/dist/components/rail.min.css +1 -1
  93. package/dist/components/rating.css +1 -1
  94. package/dist/components/rating.js +1 -1
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +1 -1
  97. package/dist/components/reset.css +1 -1
  98. package/dist/components/reset.min.css +1 -1
  99. package/dist/components/reveal.css +1 -1
  100. package/dist/components/reveal.min.css +1 -1
  101. package/dist/components/search.css +1 -1
  102. package/dist/components/search.js +1 -1
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +1 -1
  105. package/dist/components/segment.css +1 -1
  106. package/dist/components/segment.min.css +1 -1
  107. package/dist/components/shape.css +1 -1
  108. package/dist/components/shape.js +1 -1
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +1 -1
  111. package/dist/components/sidebar.css +1 -1
  112. package/dist/components/sidebar.js +1 -1
  113. package/dist/components/sidebar.min.css +1 -1
  114. package/dist/components/sidebar.min.js +1 -1
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +1 -1
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +1 -1
  119. package/dist/components/slider.js +1 -1
  120. package/dist/components/slider.min.js +1 -1
  121. package/dist/components/state.js +1 -1
  122. package/dist/components/state.min.js +1 -1
  123. package/dist/components/statistic.css +1 -1
  124. package/dist/components/statistic.min.css +1 -1
  125. package/dist/components/step.css +1 -1
  126. package/dist/components/step.min.css +1 -1
  127. package/dist/components/sticky.css +1 -1
  128. package/dist/components/sticky.js +20 -2
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +2 -2
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +1 -1
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +1 -1
  135. package/dist/components/table.css +1 -1
  136. package/dist/components/table.min.css +1 -1
  137. package/dist/components/text.css +1 -1
  138. package/dist/components/text.min.css +1 -1
  139. package/dist/components/toast.css +1 -1
  140. package/dist/components/toast.js +1 -1
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +1 -1
  143. package/dist/components/transition.css +1 -1
  144. package/dist/components/transition.js +1 -1
  145. package/dist/components/transition.min.css +1 -1
  146. package/dist/components/transition.min.js +1 -1
  147. package/dist/components/visibility.js +1 -1
  148. package/dist/components/visibility.min.js +1 -1
  149. package/dist/semantic.css +50 -50
  150. package/dist/semantic.js +83 -42
  151. package/dist/semantic.min.css +1 -1
  152. package/dist/semantic.min.js +2 -2
  153. package/examples/components/sticky-context.html +197 -0
  154. package/package.json +1 -1
  155. package/src/definitions/behaviors/form.js +1 -0
  156. package/src/definitions/modules/dropdown.js +33 -13
  157. package/src/definitions/modules/flyout.js +2 -1
  158. package/src/definitions/modules/modal.js +2 -1
  159. package/src/definitions/modules/sticky.js +19 -1
  160. package/tasks/config/admin/templates/css-package.js +4 -2
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.325+1ff8bfd
2
+ * # Fomantic UI - 2.9.0-beta.327+e146d70
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -9,7 +9,7 @@
9
9
  *
10
10
  */
11
11
  /*!
12
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Site
12
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Site
13
13
  * http://github.com/fomantic/Fomantic-UI/
14
14
  *
15
15
  *
@@ -503,7 +503,7 @@ $.extend($.expr[ ":" ], {
503
503
  })( jQuery, window, document );
504
504
 
505
505
  /*!
506
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Form Validation
506
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Form Validation
507
507
  * http://github.com/fomantic/Fomantic-UI/
508
508
  *
509
509
  *
@@ -1146,6 +1146,7 @@ $.fn.form = function(parameters) {
1146
1146
  if((t=$field.filter('[data-' + metadata.validate + '="'+ identifier +'"]')).length > 0 ) {
1147
1147
  return t;
1148
1148
  }
1149
+ module.debug('Field identifier not found.', identifier);
1149
1150
  return $('<input/>');
1150
1151
  },
1151
1152
  fields: function(fields) {
@@ -2579,7 +2580,7 @@ $.fn.form.settings = {
2579
2580
  })( jQuery, window, document );
2580
2581
 
2581
2582
  /*!
2582
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Accordion
2583
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Accordion
2583
2584
  * http://github.com/fomantic/Fomantic-UI/
2584
2585
  *
2585
2586
  *
@@ -3204,7 +3205,7 @@ $.extend( $.easing, {
3204
3205
 
3205
3206
 
3206
3207
  /*!
3207
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Calendar
3208
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Calendar
3208
3209
  * http://github.com/fomantic/Fomantic-UI/
3209
3210
  *
3210
3211
  *
@@ -5095,7 +5096,7 @@ $.fn.calendar.settings = {
5095
5096
  })(jQuery, window, document);
5096
5097
 
5097
5098
  /*!
5098
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Checkbox
5099
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Checkbox
5099
5100
  * http://github.com/fomantic/Fomantic-UI/
5100
5101
  *
5101
5102
  *
@@ -5979,7 +5980,7 @@ $.fn.checkbox.settings = {
5979
5980
  })( jQuery, window, document );
5980
5981
 
5981
5982
  /*!
5982
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Dimmer
5983
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Dimmer
5983
5984
  * http://github.com/fomantic/Fomantic-UI/
5984
5985
  *
5985
5986
  *
@@ -6745,7 +6746,7 @@ $.fn.dimmer.settings = {
6745
6746
  })( jQuery, window, document );
6746
6747
 
6747
6748
  /*!
6748
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Dropdown
6749
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Dropdown
6749
6750
  * http://github.com/fomantic/Fomantic-UI/
6750
6751
  *
6751
6752
  *
@@ -7289,6 +7290,7 @@ $.fn.dropdown = function(parameters) {
7289
7290
  return true;
7290
7291
  }
7291
7292
  if(settings.onShow.call(element) !== false) {
7293
+ module.remove.empty();
7292
7294
  module.animate.show(function() {
7293
7295
  module.bind.intent();
7294
7296
  if(module.has.search() && !preventFocus) {
@@ -7347,7 +7349,7 @@ $.fn.dropdown = function(parameters) {
7347
7349
  module.verbose('Hiding menu instantaneously');
7348
7350
  module.remove.active();
7349
7351
  module.remove.visible();
7350
- $menu.transition('hide');
7352
+ $menu.transition('destroy').transition('hide');
7351
7353
  },
7352
7354
 
7353
7355
  hideSubMenus: function() {
@@ -7508,6 +7510,7 @@ $.fn.dropdown = function(parameters) {
7508
7510
  }
7509
7511
  else {
7510
7512
  module.verbose('All items filtered, hiding dropdown', searchTerm);
7513
+ module.set.empty();
7511
7514
  module.hideMenu();
7512
7515
  }
7513
7516
  }
@@ -7518,7 +7521,7 @@ $.fn.dropdown = function(parameters) {
7518
7521
  if(settings.allowAdditions) {
7519
7522
  module.add.userSuggestion(module.escape.htmlEntities(query));
7520
7523
  }
7521
- if(module.is.searchSelection() && module.can.show() && module.is.focusedOnSearch() ) {
7524
+ if(module.is.searchSelection() && module.can.show() && module.is.focusedOnSearch() && !module.is.empty()) {
7522
7525
  module.show();
7523
7526
  }
7524
7527
  }
@@ -8135,6 +8138,10 @@ $.fn.dropdown = function(parameters) {
8135
8138
  if(settings.allowAdditions) {
8136
8139
  module.remove.userAddition();
8137
8140
  }
8141
+ module.remove.filteredItem();
8142
+ if(!module.is.visible()) {
8143
+ module.show();
8144
+ }
8138
8145
  module.remove.searchTerm();
8139
8146
  if(!module.is.focusedOnSearch() && skipRefocus !== true) {
8140
8147
  module.focusSearch(true);
@@ -8249,12 +8256,18 @@ $.fn.dropdown = function(parameters) {
8249
8256
  }
8250
8257
  $activeLabel.last().next(selector.siblingLabel).addClass(className.active);
8251
8258
  module.remove.activeLabels($activeLabel);
8259
+ if(!module.is.visible()){
8260
+ module.show();
8261
+ }
8252
8262
  event.preventDefault();
8253
8263
  }
8254
8264
  else if(caretAtStart && !isSelectedSearch && !hasActiveLabel && pressedKey == keys.backspace) {
8255
8265
  module.verbose('Removing last label on input backspace');
8256
8266
  $activeLabel = $label.last().addClass(className.active);
8257
8267
  module.remove.activeLabels($activeLabel);
8268
+ if(!module.is.visible()){
8269
+ module.show();
8270
+ }
8258
8271
  }
8259
8272
  }
8260
8273
  else {
@@ -8286,14 +8299,16 @@ $.fn.dropdown = function(parameters) {
8286
8299
  hasSelectedItem = ($selectedItem.length > 0),
8287
8300
  selectedIsSelectable = ($selectedItem.not(selector.unselectable).length > 0),
8288
8301
  delimiterPressed = (event.key === settings.delimiter && module.is.multiple()),
8289
- isAdditionWithoutMenu = (settings.allowAdditions && settings.hideAdditions && (pressedKey == keys.enter || delimiterPressed) && selectedIsSelectable),
8302
+ isAdditionWithoutMenu = settings.allowAdditions && (pressedKey == keys.enter || delimiterPressed),
8290
8303
  $nextItem,
8291
8304
  isSubMenuItem
8292
8305
  ;
8293
8306
  // allow selection with menu closed
8294
8307
  if(isAdditionWithoutMenu) {
8295
- module.verbose('Selecting item from keyboard shortcut', $selectedItem);
8296
- module.event.item.click.call($selectedItem, event);
8308
+ if (selectedIsSelectable && settings.hideAdditions) {
8309
+ module.verbose('Selecting item from keyboard shortcut', $selectedItem);
8310
+ module.event.item.click.call($selectedItem, event);
8311
+ }
8297
8312
  if(module.is.searchSelection()) {
8298
8313
  module.remove.searchTerm();
8299
8314
  }
@@ -8436,7 +8451,7 @@ $.fn.dropdown = function(parameters) {
8436
8451
  }
8437
8452
  else {
8438
8453
  // delimiter key
8439
- if(delimiterPressed) {
8454
+ if(pressedKey == keys.enter || delimiterPressed) {
8440
8455
  event.preventDefault();
8441
8456
  }
8442
8457
  // down arrow (open menu)
@@ -8632,7 +8647,7 @@ $.fn.dropdown = function(parameters) {
8632
8647
  },
8633
8648
  userValues: function() {
8634
8649
  var
8635
- values = module.get.values()
8650
+ values = module.get.values(true)
8636
8651
  ;
8637
8652
  if(!values) {
8638
8653
  return false;
@@ -9309,7 +9324,7 @@ $.fn.dropdown = function(parameters) {
9309
9324
  $menu.removeClass(className.loading);
9310
9325
  }
9311
9326
  },
9312
- text: function(text) {
9327
+ text: function(text, isNotPlaceholder) {
9313
9328
  if(settings.action === 'combo') {
9314
9329
  module.debug('Changing combo button text', text, $combo);
9315
9330
  if(settings.preserveHTML) {
@@ -9320,7 +9335,7 @@ $.fn.dropdown = function(parameters) {
9320
9335
  }
9321
9336
  }
9322
9337
  else if(settings.action === 'activate') {
9323
- if(text !== module.get.placeholderText()) {
9338
+ if(text !== module.get.placeholderText() || isNotPlaceholder) {
9324
9339
  $text.removeClass(className.placeholder);
9325
9340
  }
9326
9341
  module.debug('Changing text', text, $text);
@@ -9339,7 +9354,7 @@ $.fn.dropdown = function(parameters) {
9339
9354
  var
9340
9355
  value = module.get.choiceValue($item),
9341
9356
  searchText = module.get.choiceText($item, false),
9342
- text = module.get.choiceText($item, true)
9357
+ text = module.get.choiceText($item)
9343
9358
  ;
9344
9359
  module.debug('Setting user selection to item', $item);
9345
9360
  module.remove.activeItem();
@@ -9568,7 +9583,7 @@ $.fn.dropdown = function(parameters) {
9568
9583
  module.save.remoteData(selectedText, selectedValue);
9569
9584
  }
9570
9585
  if (!keepSearchTerm && !$selected.hasClass(className.actionable)) {
9571
- module.set.text(selectedText);
9586
+ module.set.text(selectedText, true);
9572
9587
  }
9573
9588
  module.set.value(selectedValue, selectedText, $selected, preventChangeTrigger);
9574
9589
  $selected
@@ -9581,6 +9596,10 @@ $.fn.dropdown = function(parameters) {
9581
9596
  if (!keepSearchTerm) {
9582
9597
  module.remove.searchTerm();
9583
9598
  }
9599
+ if(module.is.allFiltered()) {
9600
+ module.set.empty();
9601
+ module.hideMenu();
9602
+ }
9584
9603
  }
9585
9604
  },
9586
9605
 
@@ -9913,10 +9932,9 @@ $.fn.dropdown = function(parameters) {
9913
9932
  },
9914
9933
  value: function(removedValue, removedText, $removedItem, preventChangeTrigger) {
9915
9934
  var
9916
- values = module.get.values(),
9935
+ values = module.get.values(true),
9917
9936
  newValue
9918
9937
  ;
9919
- removedValue = module.escape.htmlEntities(removedValue);
9920
9938
  if( module.has.selectInput() ) {
9921
9939
  module.verbose('Input is <select> removing selected option', removedValue);
9922
9940
  newValue = module.remove.arrayValue(removedValue, values);
@@ -10149,6 +10167,9 @@ $.fn.dropdown = function(parameters) {
10149
10167
  edge: function() {
10150
10168
  return !!window.chrome && !!window.StyleMedia;
10151
10169
  },
10170
+ empty: function() {
10171
+ return $module.hasClass(className.empty);
10172
+ },
10152
10173
  chrome: function() {
10153
10174
  return !!window.chrome && !window.StyleMedia;
10154
10175
  },
@@ -11101,7 +11122,7 @@ $.fn.dropdown.settings.templates = {
11101
11122
  })( jQuery, window, document );
11102
11123
 
11103
11124
  /*!
11104
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Embed
11125
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Embed
11105
11126
  * http://github.com/fomantic/Fomantic-UI/
11106
11127
  *
11107
11128
  *
@@ -11815,7 +11836,7 @@ $.fn.embed.settings = {
11815
11836
  })( jQuery, window, document );
11816
11837
 
11817
11838
  /*!
11818
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Flyout
11839
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Flyout
11819
11840
  * http://github.com/fomantic/Fomantic-UI/
11820
11841
  *
11821
11842
  *
@@ -11984,7 +12005,6 @@ $.flyout = $.fn.flyout = function(parameters) {
11984
12005
  module.setup.heights();
11985
12006
  module.bind.resize();
11986
12007
  }
11987
- module.refreshInputs();
11988
12008
  module.bind.events();
11989
12009
  module.observeChanges();
11990
12010
  module.instantiate();
@@ -12024,6 +12044,7 @@ $.flyout = $.fn.flyout = function(parameters) {
12024
12044
  $('<div/>', {class: className.actions}).appendTo($module);
12025
12045
  }
12026
12046
  $module.prependTo($context);
12047
+ element = $module[0];
12027
12048
  },
12028
12049
  id: function() {
12029
12050
  id = (Math.random().toString(16) + '000000000').slice(2, 10);
@@ -12437,6 +12458,7 @@ $.flyout = $.fn.flyout = function(parameters) {
12437
12458
  module.add.keyboardShortcuts();
12438
12459
  }
12439
12460
  module.save.focus();
12461
+ module.refreshInputs();
12440
12462
  if(settings.autofocus) {
12441
12463
  module.set.autofocus();
12442
12464
  }
@@ -13345,7 +13367,7 @@ $.fn.flyout.settings.templates = {
13345
13367
  })( jQuery, window, document );
13346
13368
 
13347
13369
  /*!
13348
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Modal
13370
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Modal
13349
13371
  * http://github.com/fomantic/Fomantic-UI/
13350
13372
  *
13351
13373
  *
@@ -13499,7 +13521,6 @@ $.modal = $.fn.modal = function(parameters) {
13499
13521
  $module.addClass('top aligned');
13500
13522
  }
13501
13523
  module.refreshModals();
13502
- module.refreshInputs();
13503
13524
  module.bind.events();
13504
13525
  module.observeChanges();
13505
13526
  module.instantiate();
@@ -13537,6 +13558,7 @@ $.modal = $.fn.modal = function(parameters) {
13537
13558
  $('<div/>', {class: className.actions}).appendTo($module);
13538
13559
  }
13539
13560
  $context.append($module);
13561
+ element = $module[0];
13540
13562
  },
13541
13563
  dimmer: function() {
13542
13564
  var
@@ -13920,6 +13942,7 @@ $.modal = $.fn.modal = function(parameters) {
13920
13942
  }
13921
13943
  module.save.focus();
13922
13944
  module.set.active();
13945
+ module.refreshInputs()
13923
13946
  if(settings.autofocus) {
13924
13947
  module.set.autofocus();
13925
13948
  }
@@ -14901,7 +14924,7 @@ $.fn.modal.settings.templates = {
14901
14924
  })( jQuery, window, document );
14902
14925
 
14903
14926
  /*!
14904
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Nag
14927
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Nag
14905
14928
  * http://github.com/fomantic/Fomantic-UI/
14906
14929
  *
14907
14930
  *
@@ -15460,7 +15483,7 @@ $.extend( $.easing, {
15460
15483
  })( jQuery, window, document );
15461
15484
 
15462
15485
  /*!
15463
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Popup
15486
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Popup
15464
15487
  * http://github.com/fomantic/Fomantic-UI/
15465
15488
  *
15466
15489
  *
@@ -16996,7 +17019,7 @@ $.fn.popup.settings = {
16996
17019
  })( jQuery, window, document );
16997
17020
 
16998
17021
  /*!
16999
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Progress
17022
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Progress
17000
17023
  * http://github.com/fomantic/Fomantic-UI/
17001
17024
  *
17002
17025
  *
@@ -18033,7 +18056,7 @@ $.fn.progress.settings = {
18033
18056
  })( jQuery, window, document );
18034
18057
 
18035
18058
  /*!
18036
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Slider
18059
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Slider
18037
18060
  * http://github.com/fomantic/Fomantic-UI/
18038
18061
  *
18039
18062
  *
@@ -19387,7 +19410,7 @@ $.fn.slider.settings = {
19387
19410
  })( jQuery, window, document );
19388
19411
 
19389
19412
  /*!
19390
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Rating
19413
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Rating
19391
19414
  * http://github.com/fomantic/Fomantic-UI/
19392
19415
  *
19393
19416
  *
@@ -19946,7 +19969,7 @@ $.fn.rating.settings = {
19946
19969
  })( jQuery, window, document );
19947
19970
 
19948
19971
  /*!
19949
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Search
19972
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Search
19950
19973
  * http://github.com/fomantic/Fomantic-UI/
19951
19974
  *
19952
19975
  *
@@ -21541,7 +21564,7 @@ $.extend($.easing, {
21541
21564
  })( jQuery, window, document );
21542
21565
 
21543
21566
  /*!
21544
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Shape
21567
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Shape
21545
21568
  * http://github.com/fomantic/Fomantic-UI/
21546
21569
  *
21547
21570
  *
@@ -22390,7 +22413,7 @@ $.fn.shape.settings = {
22390
22413
  })( jQuery, window, document );
22391
22414
 
22392
22415
  /*!
22393
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Sidebar
22416
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Sidebar
22394
22417
  * http://github.com/fomantic/Fomantic-UI/
22395
22418
  *
22396
22419
  *
@@ -23524,7 +23547,7 @@ $.fn.sidebar.settings = {
23524
23547
  })( jQuery, window, document );
23525
23548
 
23526
23549
  /*!
23527
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Sticky
23550
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Sticky
23528
23551
  * http://github.com/fomantic/Fomantic-UI/
23529
23552
  *
23530
23553
  *
@@ -23919,6 +23942,18 @@ $.fn.sticky = function(parameters) {
23919
23942
  module.determineContainer();
23920
23943
  }
23921
23944
  else {
23945
+ var tallestHeight = Math.max(module.cache.context.height, module.cache.element.height);
23946
+ if(tallestHeight - $container.outerHeight() > settings.jitter) {
23947
+ module.debug('Context is taller than container. Specifying exact height for container', module.cache.context.height);
23948
+ $container.css({
23949
+ height: tallestHeight,
23950
+ });
23951
+ }
23952
+ else {
23953
+ $container.css({
23954
+ height: '',
23955
+ });
23956
+ }
23922
23957
  if( Math.abs($container.outerHeight() - module.cache.context.height) > settings.jitter) {
23923
23958
  module.debug('Context has padding, specifying exact height for container', module.cache.context.height);
23924
23959
  $container.css({
@@ -24017,7 +24052,7 @@ $.fn.sticky = function(parameters) {
24017
24052
  module.bindBottom();
24018
24053
  }
24019
24054
  else if(scroll.top > element.top) {
24020
- if( (element.height + scroll.top - elementScroll) >= context.bottom ) {
24055
+ if( (element.height + scroll.top - elementScroll) >= context.bottom && element.height < context.height) {
24021
24056
  module.debug('Initial element position is bottom of container');
24022
24057
  module.bindBottom();
24023
24058
  }
@@ -24096,6 +24131,9 @@ $.fn.sticky = function(parameters) {
24096
24131
  bindTop: function() {
24097
24132
  module.debug('Binding element to top of parent container');
24098
24133
  module.remove.offset();
24134
+ if(settings.setSize) {
24135
+ module.set.size();
24136
+ }
24099
24137
  $module
24100
24138
  .css({
24101
24139
  left : '',
@@ -24113,6 +24151,9 @@ $.fn.sticky = function(parameters) {
24113
24151
  bindBottom: function() {
24114
24152
  module.debug('Binding element to bottom of parent container');
24115
24153
  module.remove.offset();
24154
+ if(settings.setSize) {
24155
+ module.set.size();
24156
+ }
24116
24157
  $module
24117
24158
  .css({
24118
24159
  left : '',
@@ -24475,7 +24516,7 @@ $.fn.sticky.settings = {
24475
24516
  })( jQuery, window, document );
24476
24517
 
24477
24518
  /*!
24478
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Tab
24519
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Tab
24479
24520
  * http://github.com/fomantic/Fomantic-UI/
24480
24521
  *
24481
24522
  *
@@ -25495,7 +25536,7 @@ $.fn.tab.settings = {
25495
25536
  })( jQuery, window, document );
25496
25537
 
25497
25538
  /*!
25498
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Toast
25539
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Toast
25499
25540
  * http://github.com/fomantic/Fomantic-UI/
25500
25541
  *
25501
25542
  *
@@ -26422,7 +26463,7 @@ $.extend( $.easing, {
26422
26463
  })( jQuery, window, document );
26423
26464
 
26424
26465
  /*!
26425
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Transition
26466
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Transition
26426
26467
  * http://github.com/fomantic/Fomantic-UI/
26427
26468
  *
26428
26469
  *
@@ -27537,7 +27578,7 @@ $.fn.transition.settings = {
27537
27578
  })( jQuery, window, document );
27538
27579
 
27539
27580
  /*!
27540
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - API
27581
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - API
27541
27582
  * http://github.com/fomantic/Fomantic-UI/
27542
27583
  *
27543
27584
  *
@@ -28774,7 +28815,7 @@ $.api.settings = {
28774
28815
  })( jQuery, window, document );
28775
28816
 
28776
28817
  /*!
28777
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - State
28818
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - State
28778
28819
  * http://github.com/fomantic/Fomantic-UI/
28779
28820
  *
28780
28821
  *
@@ -29486,7 +29527,7 @@ $.fn.state.settings = {
29486
29527
  })( jQuery, window, document );
29487
29528
 
29488
29529
  /*!
29489
- * # Fomantic-UI 2.9.0-beta.325+1ff8bfd - Visibility
29530
+ * # Fomantic-UI 2.9.0-beta.327+e146d70 - Visibility
29490
29531
  * http://github.com/fomantic/Fomantic-UI/
29491
29532
  *
29492
29533
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.325+1ff8bfd
2
+ * # Fomantic UI - 2.9.0-beta.327+e146d70
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *