TheSGJ / nextjs-toploader

A Next.js Top Loading Bar component made using nprogress, works with Next.js 14 , Next.js 13 and React.
https://www.npmjs.com/package/nextjs-toploader
MIT License
871 stars 50 forks source link

Allow to Control the zIndex via prop #26

Closed amandeeptherockstar closed 1 year ago

amandeeptherockstar commented 1 year ago

As per the code of library default zIndex for loader and progress bar is 1031, While using this library with Material UI whose app bar is having the zIndex-1100, The loader and progress bar goes behind the App bar.

Adding a reference to this link -https://mui.com/material-ui/customization/z-index/

karlhorky commented 1 year ago

Should this be closed, now that #27 was merged and nextjs-toploader@1.5.3 was published?