[英]React how to display an image on top of the entire screen when the image is generated in one of the sub-components
我在其他一些組件中使用第三方組件(react-infinite-scroll-component)來顯示對象列表,其中一些包含圖像。 我想要做的是當用戶點擊圖像時,圖像將全屏顯示,應該覆蓋整個桌面屏幕。 現在的問題是我確實以某種方式使圖像“全屏”,但它只是填充了該圖像所在的 react-infini ...