github valor-software/ngx-bootstrap v21.2.1

4 hours ago

Bug Fixes
component-loader: Fixed a visual flash where popover content briefly appeared at the trigger element's location before being positioned correctly. This affected popovers using popoverContext in zoneless mode. (#6817)
typeahead: Fixed several accessibility issues (#6791):
Changed the container role from listbox to combobox for correct ARIA semantics
Switched from aria-owns to aria-controls per ARIA spec
Fixed activeChangeEvent not firing when the active item changed via keyboard navigation; it now consistently emits (emitting an empty string instead of undefined when cleared)
Refactoring / Internals
component-loader: Replaced the deprecated ComponentFactoryResolver API (removed in Angular 17+) with the modern createComponent() + EnvironmentInjector API. Affects dynamic overlay rendering for Modal, Tooltip, Popover, Typeahead, Dropdown, and Datepicker. (#6813)
animations: Removed the @angular/animations peer dependency. Collapse, Dropdown, Datepicker, and Typeahead now use pure CSS transitions with a shared animateExpand / onTransitionFinished utility (exported from ngx-bootstrap/utils). This reduces bundle size and removes the requirement to import BrowserAnimationsModule. Existing consumers do not need any code changes. (#6812)

Don't miss a new ngx-bootstrap release

NewReleases is sending notifications on new releases.