Browse Source

Fix issue #1569 #1564 #1560 - Popup issues in 1.5.x

pull/1574/head
jlukic 10 years ago
parent
commit
625ef8ffc0
4 changed files with 15 additions and 8 deletions
  1. 8
      RELEASE-NOTES.md
  2. 10
      src/definitions/modules/dropdown.less
  3. 4
      src/definitions/modules/popup.js
  4. 1
      src/definitions/modules/popup.less

8
RELEASE-NOTES.md

@ -1,5 +1,13 @@
## RELEASE NOTES
### Version 1.5.3 - January 05, 2015
**Bugs**
- **Popup** - Fix issue with `ui popup` receiving error ``$offsetParent is undefined`` when using a pre-defined popup
- **Popup** - Fix issue with ``ui popup` not appearing with ``ui flowing popup`` due to newly added ``min-width: max-content``
- **Form** - ``ui search dropdown`` inside a form has incorrect focus style
### Version 1.5.2 - January 02, 2015
**Bugs**

10
src/definitions/modules/dropdown.less

@ -481,13 +481,13 @@ select.ui.dropdown {
/* Search Dropdown */
.ui.search.dropdown > input.search {
cursor: pointer;
background: none transparent;
border: none;
box-shadow: none;
background: none transparent !important;
border: none !important;
box-shadow: none !important;
border-radius: 0em !important;
cursor: pointer;
position: absolute;
border-radius: 0em !important;
top: 0em;
left: 0em;
width: 100%;

4
src/definitions/modules/popup.js

@ -116,9 +116,9 @@ $.fn.popup = function(parameters) {
}
if(settings.popup) {
$popup.addClass(className.loading);
if($popup.offsetParent()[0] !== $module.offsetParent()[0]) {
$offsetParent = $module.offsetParent();
if($popup.offsetParent()[0] !== $offsetParent[0]) {
module.debug('Moving popup to the same offset parent as activating element');
$offsetParent = $module.offsetParent();
$popup
.detach()
.appendTo($offsetParent)

1
src/definitions/modules/popup.less

@ -30,7 +30,6 @@
z-index: @zIndex;
border: @border;
min-width: max-content;
max-width: @maxWidth;
background-color: @background;

Loading…
Cancel
Save