Skip to content

5.2.100

Compare
Choose a tag to compare
@jbomhold3 jbomhold3 released this 15 Jun 21:38
· 45 commits to master since this release

Warning: Contains breaking changes for Interop if you were calling it directly moved to IBlazorStrap.JavascriptInterop

Warning: Contains breaking changes for ThemeSwitcher now takes an Enum of the default themes or URI to the CSS file.

Changes:

  • Rewritten: Interop was completely replaced.
  • Adds: IsMouseOver to drop downs.
  • Changes: Tooltips, Popovers, Modals, OffCanvas will no longer render on the page unless opened by default.

Default behavior changes

  • Modals, OffCanvas, Poppover, Toolips. No longer render HTML until open. Change ContentAlwaysRendered =true if you do not want this behavior.

Fixes

  • IsMouseOver for dropdowns
  • Width was not removed from Horizontal Collapse
  • Removes a rogue Console.Writeline

Added

  • Ability to change tab via Data ID from BSNav ref (see docs) (V5.2.100.61524)
  • PopperOptions to BSTooltip, BSPopover, BSDropDown

Steps to update from V5.1.102

  • Remove all references to blazorstrap.js. This is now loaded in as a module
  • In your MainLayout, unless required to be placed in a specific location with your template. Remove <BSToaster/>
  • In your MainLayout after @Body add <BSCore/>. Use <BSCore HasToaster="false" /> instead if your keeping <BSToaster/>

Note. is also responsible for rendering the backdrop now. If omitted, the backdrop will not be shown. BSCore also preloads the javascript module so it's ready when called by components.