canvas-confetti
canvas-confetti copied to clipboard
consider setting z-index to max value as default
popular UI libs are using z-index in range of 1k-2k for dialogs, toolbars etc. Current zindex default is 100
, why not set to max? Number.MAX_SAFE_INTEGER
or 2147483647
to be "safe", yet while it says it is any integer, max safe int sounds as an option, but would google/test more. in any case 100 seems too low as default in context of:
https://mui.com/customization/z-index/ https://getbootstrap.com/docs/5.0/layout/z-index/