bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 216 forks source link

Setting a property for `BitModal` to cancel closing modal in background #7698

Closed msangtarash closed 4 weeks ago

msangtarash commented 1 month ago

I need to cancel the functionality of the closing modal by clicking in background.

msynk commented 1 month ago

you can use the IsBlocking parameter to enable this behavior.

check the example here: https://blazorui.bitplatform.dev/components/modal#example2

msangtarash commented 4 weeks ago

Oh yes, that's right. thank you