Closed JoeSixGo closed 2 years ago
Please enlarge size option list by adding more max-w-...
options. #4809, #3950
The 'screen-md' was leftover from the previous modal size implementation and wasn't intended to be left in or used (it wasn't even used previously).
I've added more modal sizes, up to '7xl'. Past that, you should probably just set the modal to fullscreen
instead. The new sizes will come in the next release.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description:
Vue is throwing a warning when opening a custom modal having size="screen-md". It seems to me that the validator function of size prop is missing 'screen-md' value from the array. It is actually included in sizeClasses method.
Actual Modal.vue component props: `props: { show: { type: Boolean, default: false, },
},`
sizeClasses() method:
sizeClasses() { return { sm: 'max-w-sm', md: 'max-w-md', lg: 'max-w-lg', xl: 'max-w-xl', '2xl': 'max-w-2xl', 'screen-md': 'max-w-screen-md', } }
Detailed steps to reproduce the issue on a fresh Nova installation: