pmndrs / drei

🥉 useful helpers for react-three-fiber
https://drei.pmnd.rs/
MIT License
7.85k stars 641 forks source link

fix: setting z-index range to a normal value and fixing a small semi … #1931

Open Johnnydev001 opened 2 months ago

Johnnydev001 commented 2 months ago

Why

Issue: The zIndexRange used in the Html.tsx file is way too big and in some projects I had to apply bigger z-indexes just to make sure my other HTML was being displayed above. This was very troublesome since it had to be done in several places.

What

Changed the zIndexRange[0] value to 2 to make it smaller but still working for occlusion.

Checklist

Note: Removed an unnecessary semi-colon in the Grid.tsx file.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2024 9:52am
codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.