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
uses a zIndex value of 9999. This value is too high in many cases and can cause issues when integrating the Dialog into projects with custom zIndex layers.
Proposed Changes
Reduce the default zIndex value to 100 or 999.
Alternatively, allow the zIndex to be passed as a configurable prop, providing developers more flexibility to adjust it based on their application needs.
Benefits
Improved compatibility with existing applications that have their own zIndex layers.
Increased configurability of the Dialog component, aligning it better with various project requirements.
Description
The current implementation of the Dialog component in
material-tailwind/packages/material-tailwind-react/src/components/Dialog/index.tsx
Line 153 in 8718792
9999
. This value is too high in many cases and can cause issues when integrating the Dialog into projects with custom zIndex layers.Proposed Changes
100
or999
.Benefits
Example Usage
Reference
The current implementation can be found
material-tailwind/packages/material-tailwind-react/src/components/Dialog/index.tsx
Line 153 in 8718792
Thank you for considering this request!
The text was updated successfully, but these errors were encountered: