Skip to content

Releases: Blazored/Modal

v6.0.0

04 Jan 12:47
372195d
Compare
Choose a tag to compare

What's Changed

🚀 Features

🐛 Bug Fixes

  • (#267) Bootstrap custom modal background clicks - Thanks to @larsk2009

🧰 Maintenance

  • (#260) Adds missing options to GlobalOptions - Thanks to @larsk2009
  • (#247) Update to use the full bootstrap modal in the sample - Thanks to @chrissainty
  • (#239) Link to Nuget and Build Status in readme badges - Thanks to @Epictek
  • (#268) Bump ini from 1.3.5 to 1.3.8 in /src/Blazored.Modal - Thanks to @dependabot
  • (#273) Change BlazoredModel to ModalInstance in readme to avoid confusion - Thanks to @larsk2009
  • (#258) Renamed BlazoredModalInstance Close and Cancel to CloseAsync and CancelAsync - Thanks to @David-Moreira

v5.1.0

17 Sep 07:23
3359b71
Compare
Choose a tag to compare

What's Changed

  • (#229) Add Sample for ScrollableContent for Server-Side - Thanks to @lukepat

🚀 Features

  • (#222) Add option for setting if content of Modal is scrollable, this helps … - Thanks to @lukepat

🐛 Bug Fixes

  • (#226) Added allowOutsideClick to capture clicks outside the focus trap - Thanks to @rezasfl
  • (#233) [Bugfix] Fixes representation of animation duration when the current culture doesn't use a period as the decimal separator - Thanks to @AgWillow
  • (#231) [Bugfix] Navigate Away - Thanks to @larsk2009

🧰 Maintenance

v5.0.3

05 Aug 19:40
8b12182
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • (#213) Focus traps are now deactivated when navigating from page - Thanks to @GisliSig

v5.0.2

20 Jul 16:41
5b15145
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • (#202) Removed ability to dismiss the modal using escape - Thanks to @chrissainty

v5.0.1

13 Jul 15:21
284af25
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • (#194) Fixed extra content files being included in final package - Thanks to @chrissainty

v5.0.0

13 Jul 14:11
7621d35
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • (#193) Allows developers to customise the position of the modal - Thanks to @pablopioli
  • (#192) Replaces BlazoredModal component with CascadingBlazoredModal - Thanks to @chrissainty
  • (#189) Adds the ability to provide custom layouts for the modal such as Bootstrap - Thanks to @dfkeenan
  • (#179) Adds animation to modal open and close - Thanks to @larsk2009
  • (#186) Prevent page scrolling when the model is active - Thanks to @chrissainty
  • (#185) Adds a focus trap to the modal as well as the ability to dismiss the modal with the escape key - Thanks to @chrissainty
  • (#182) Add IE11 support - Thanks to @larsk2009
  • (#174) Modal service now returns IModalReference instead of ModalReference - Thanks to @chrissainty

🧰 Maintenance

v4.1.0

06 Apr 17:52
8981094
Compare
Choose a tag to compare

What's Changed

🚀 Features

🧰 Maintenance

📖 Documentation

v4.0.0

13 Mar 11:17
e1e442b
Compare
Choose a tag to compare

What's Changed

  • (#105) Change HTML to Razor language in markdown - Thanks to @larsk2009
  • (#98) Updated packages

🚀 Features

  • (#106) Moved to modal instances

🧰 Maintenance

  • (#113) Updated screenshot

v3.1.0

19 Jan 14:32
cd972a4
Compare
Choose a tag to compare

Features

  • #85 - If you're running multiple modals on the same page sharing the same close method. You can now identify which modal was closed via the ModalResult.ModalType property.
  • #91 - If you don't need to pass anything back when closing the modal. You can now use ModalService.Close() without the need to specify a ModalResult object. When using this overload, a default OK ModalResult will be returned.
  • #90 - Added overloads for ModalService.Show method to allow dynamic type usage for modal content.

Blazored Modal v3.0.0

06 Dec 17:03
caa3875
Compare
Choose a tag to compare

Breaking Changes

In this release the old method of showing a modal and having to pass in a type as an argument has been removed in favour of using generics.

This means code which looks like this:

Modal.Show("Sign Up Form", typeof(SignUpForm), parameters, options);

Will need to be updated to this:

Modal.Show<SignUpForm>("Sign Up Form", parameters, options);

New Features

  • #54 - We've removed the 50rem width from the blazored-model CSS class. The modal will now size to whatever size your content is.
  • #71 - It's now possible to remove the entire modal header by setting HideHeader to true either using ModalOptions or setting it via component parameters.
  • #74 - A new internal event has been added to close the modal before executing the current OnClose event which runs user code.
  • #73 - The title for the modal can now be set dynamically by the content component using the following cascading parameter and using the SetTitle(string title) method.
[CascadingParameter] BlazoredModal BlazoredModal { get; set; }