From 2049192980b5d24cde3ebe17dcf07c51a68d911d Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Sun, 2 Sep 2018 21:43:14 -0500 Subject: [PATCH] Add repro story for PositionPlugin flicker --- stories/index.tsx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/stories/index.tsx b/stories/index.tsx index fbe503ce..e0309dc3 100644 --- a/stories/index.tsx +++ b/stories/index.tsx @@ -797,6 +797,29 @@ storiesOf('Griddle main', module) ) }) + .add('with virtual scrolling and tall rows', () => { + const data = []; + for (let i = 0; i < 100; i++) { + data.push({ + name: 'asdasd asdasd asdasd '.repeat(4 + 3 * Math.random()), + age: 18 + Math.floor(Math.random() * 70), + active: 'false', + action: 'action', + address: 'asdasd asdasd asdasd '.repeat(6 + 2 * Math.random()), + }); + } + return ( + + + + + + + + + + ) + }) .add('set fakeData to constructed Objects', () => { type Griddle = new () => GenericGriddle; const Griddle = GenericGriddle as Griddle;