You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open any dialog with <dialog-content :disableOutsidePointerEvents="false"> and you'll see that the body stills receive the style="pointer-events: none;", even tought the docs says that the prop exists.
Describe the bug
According to the docs bellow, the dialog content should be able to receive the disableOutsidePointerEvents prop.
But what actually happens is that the DialogContentModal, used by the DialogContent overrides it.
My suggestion is to change the code bellow to use withDefaults (const props = withDefaults( defineProps<DialogContentImplProps>(), { disableOutsidePointerEvents: true })) and remove the :disable-outside-pointer-events="true" allowing the DialogContent to actually receive and pass forward the prop.
Expected behavior
The DialogContent to receive and actually pass the disableOutsidePointerEvents prop forward.
Activity
fix(Dialog): honor disableOutsidePointerEvents on modal content (#2677)…