This will allow for resizable drawers to have a minimum width. The default-width prop only works for opening the drawer and I think it makes sense to have a min width so the whole drawer is not accidentally resized to zero (especially for ones where the masks are set to false
This function solves the problem (这个功能解决的问题)
This will allow for resizable drawers to have a minimum width. The
default-width
prop only works for opening the drawer and I think it makes sense to have a min width so the whole drawer is not accidentally resized to zero (especially for ones where the masks are set to falseExpected API (期望的 API)
<n-drawer v-model:show="active" :default-width="502" :minimum-width="300" :placement="placement" resizable
<n-drawer v-model:show="active" :default-width="30%" :minimum-width="10%" :placement="placement" resizable