Closed ivorpad closed 6 years ago
Unfortunately I can't get InfiniteGrid to work in React 16.1.1.
import React from 'react'; import { render } from 'react-dom'; import { GridLayout } from "@egjs/react-layout"; const App = () => { return ( <GridLayout tag="div" horizontal={true}> <div><img src="https://images.unsplash.com/photo-1522620444120-1a893f1d495b" /></div> <div><img src="https://images.unsplash.com/photo-1522620444120-1a893f1d495b" /></div> <div><img src="https://images.unsplash.com/photo-1522620444120-1a893f1d495b" /></div> <div><img src="https://images.unsplash.com/photo-1522620444120-1a893f1d495b" /></div> <div><img src="https://images.unsplash.com/photo-1522620444120-1a893f1d495b" /></div> </GridLayout> ); } render(<App />, document.getElementById('root'));
To reproduce: https://stackblitz.com/edit/react-xvz2ax
@egjs/react-layout 1.2.4 version has been deployed and its bugs fixed. Please try it. Thank you.
@egjs/react-layout
Description
Unfortunately I can't get InfiniteGrid to work in React 16.1.1.
Steps to check or reproduce
To reproduce: https://stackblitz.com/edit/react-xvz2ax