Open 0XYoussefX0 opened 3 months ago
@0XYoussefX0 is attempting to deploy a commit to the Quran Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
quran-com | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 23, 2024 1:12pm |
@osamasayed @AhmedCodeGuy please can you review this PR ? it builds perfectly fine and solves a layout shift issue that will improve the UX for users visiting from a computer.
@AhmedCodeGuy Done 👍
Summary
fixed the layout shift that happens when you open the language dropdown, and when you open any of the drawers available on the navbar. the first one is caused by a library used by radix ui under the hood called: react-remove-scroll, and the second one is caused by the usePreventBodyScrolling hook.
Here is the Before and After