New Components
- Visibiliity - Attach callbacks to elements visibility conditions like
top visible
bottom visible
,passing
. Useful for things like: image lazy loading, infinite scroll content, and recording tracking metrics.
See the examples online for a demonstration.
Enhancements
- Form -
<select>
now receive error formatting onform error
Thanks @davialexandre - Transition - Added more reasonable default durations for each animation
- Loader -
inline loader
now has acentered
variation - Modal - Modal no longer hides and reshows dimmer when opening a modal with another modal open with
exclusive: true
- Popup - Added
exclusive
parameter to automatically close other popups on open - Transition - Added
toggle
behavior and docs forshow
andhide
- Transition - transition now has
stop
,stop all
, andclear queue
for removing transitions, (undocumented methodstop
, andstart
renamed toenable
anddisable
) - Dimmer - Add
opacity
setting to override css value. Add to docs several undocumented settings, likeuseCSS
, andvariation
. - Icon - added
@src
variable to make it adjustable with themes that dont support all types likewoff2
Bugs
- Dropdown - Fixes issue where dropdown would not open after restoring previus value on failed
search dropdown
search - Grid - Fixes specificity of grid
column
colors to not affect other elements with columns - Icon - Fix
clockwise rotated icon
causingclockwise
icon to appear - Popup - Fix issue with
popup
not re-opening until another element gains focus on a mobile touchscreen - Modal - Fixed issue with modal not appearing when calling
show
during another modalhide
- Popup - Popup will now fire
onHidden
when an element is hidden by opening a different popup - Popup - Fix popup not namespacing
window
events and unbinding ondestroy
Thanks @revov - Table - Fixes table on
mobile
sizes can surpass parent container width - Transition - Fixes
swing out
animations not working correctly - Transition - Fixed display state other than
block
not determined when usingshow
andhide
without an animation - Transition - Fix bug in
remove looping
causing next animation to use same duration - Segment - Fix first/last margins on
ui segments
- Search - Fix special characters not searching correctly with local search
- Search - Fix a bug with
onSelect
returningnull
whenminCharacters: 0
- Search - Fix a bug with
onSelect returning
null` when results retrieved from cached API query - Sticky - Fixed sticky position when page loads and content is below sticky content.
- Sticky - Fix bottom attached position not adjusting for bottom padding on container element
- Menu - Fix vertical pointing menu, sub menu arrow color
- *Item * -
img
inside ofui item content
now do not receive size formatting by default - Form - Added
input[type="search"]
styles toui form
Docs
- Transition - Adds examples of
hide,
show,
toggle,
stop,
stop all, and
clear queue` - Item - Significant rewrite of
ui item
documentation