react-pdf
react-pdf copied to clipboard
z-index isn't working on Document element of react-pdf
Before you start - checklist
- [X] I followed instructions in documentation written for my React-PDF version
- [X] I have checked if this bug is not already reported
- [X] I have checked if an issue is not listed in Known issues
- [X] If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
I have a simple search bar, which has overlay results, which is covering almost the entire application except for this PDF renderer element, it is overlapping the search results which is not ideal.
The actual heirarchy is
parent
|_SearchBar // which has overlay results
|_Folder
|_Subfolder
|_PDFViewer // which is overlaping
Steps to reproduce
clone the app from https://github.com/krishnaacharyaa/search-pdf-combo npm i npm run dev
Expected behavior
Document gets rendered below the searchresults overlay
Actual behavior
Document gets rendered above the searchresults overlay
Additional information
No response
Environment
- Browser (if applicable):
- React-PDF version:
- React version:
- Webpack version (if applicable):
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity.