Releases: thednp/bootstrap.native
Releases · thednp/bootstrap.native
Fixes and updates for V4
Hotfix
New features and improvements
Dropdown
- added a more robust keyboard navigation for the component, via up/down arrow keys,
Esc
key and improved what gets focused on opening/closing the menu. details
Button
- (radio/checkbox) can be toggled via
Space
key
Other
Fixes and new features
Both V3/V4 versions
- added ability for Popover and Tooltip to style the generated TIP on first instance, also both can handle cases when TIP should use intermediary positions like top-left, bottom-right, etc, similar to Popper.js
- removed
elementInViewport()
andupdatePlacement()
utilities - fix issue with Tab when
fade
is used but no height animation viadata-height="true"
attribute - don't slide Carousel if not in view range, details here
Improvements and minor fixes
Non component specific
The library now allows you to link it in the <head>
, details, check wiki for more.
Modal:
- V3/V4 fixed overlay handler details
- V3/V4 further fix for resize handler details
- V3/V4 evend bind fixes details
Button
- V3/V4 component has the ability to activate radios and checkboxes on load for browsers that don't remember form validation status after submit details
- V3 issues on IE details
- V3/V4 allow component to work with elements other than
<div class="btn-group">
details - V3 allow component to work with multiple
data-TEXT
options details
Tooltip
** V3/V4 Tooltip should close on resize details
Affix
** V3 component should not use resize on IE8 details
Popover
** V3/V4 component should not abuse event handlers on global objects details
Dropdown
** V3/V4 component should not abuse event handlers on global objects details
Modal and Tooltip improvements
Improvements
Carousel - details
- Using the
slideTo()
public method now works properly when used outside the prototype - event handlers are more simple
- demo updated to demo the use case
Dropdown details
- event handlers are more simple
- code cleanup
ScrollSpy - details
- added
offset
option - code cleanup
- documentation updates
Modal - details
- fixed an issue setting scrollbar on IE
Button - details
- more simple event handlers
Alert - details
- more simple event handlers
Much needed improvements
Changes:
- V3/V4 fixed Collapse and Tab private methods (details)
- V3/V4 added
"use strict"
to improve performance - V3/V4 improved the
initializaDataAPI
utility for faster component initialization - Documentation updates
Minor fix
Fixed classList
polyfill in polyfill.js
and polyfill.min.js
in regards to SVG, details thednp/minifill@b528a8d