I had a similar problem, and the problem was in position: sticky, it looks like you're using tailwindCSS. I see class sticky in navbar. Try to change styles on position fixed, and add z-index. I hope this helps.
position: sticky
sticky